+libpng
This commit is contained in:
parent
2aafe21403
commit
10fcfc26d1
3 changed files with 12 additions and 1 deletions
|
@ -16,7 +16,7 @@ mkdir build
|
||||||
cd build
|
cd build
|
||||||
../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
|
../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
|
||||||
make
|
make
|
||||||
make install DESTDIR="$1"
|
make DESTDIR="$1" install
|
||||||
ln -s gcc "$1/usr/bin/cc"
|
ln -s gcc "$1/usr/bin/cc"
|
||||||
echo "#!/bin/sh" > "$1"/usr/bin/c99
|
echo "#!/bin/sh" > "$1"/usr/bin/c99
|
||||||
echo "exec cc -std=c99 "$@"" >> "$1"/usr/bin/c99
|
echo "exec cc -std=c99 "$@"" >> "$1"/usr/bin/c99
|
||||||
|
|
6
libpng/build
Normal file
6
libpng/build
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
wget https://github.com/glennrp/libpng/archive/v1.6.37.tar.gz
|
||||||
|
tar -xf v1.6.37.tar.gz
|
||||||
|
cd v1.6.37
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR="$1" install
|
5
libpng/package
Normal file
5
libpng/package
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
pkg_config_deploy=true
|
||||||
|
pkg_config_ver="1.6.37"
|
||||||
|
pkg_config_name="libpng"
|
||||||
|
pkg_config_makedepends=""
|
||||||
|
pkg_config_depends=""
|
Loading…
Reference in a new issue