diff --git a/gcc/build b/gcc/build index 8b7425c..98f24ac 100755 --- a/gcc/build +++ b/gcc/build @@ -16,7 +16,7 @@ mkdir build cd build ../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++ make -make install DESTDIR="$1" +make DESTDIR="$1" install ln -s gcc "$1/usr/bin/cc" echo "#!/bin/sh" > "$1"/usr/bin/c99 echo "exec cc -std=c99 "$@"" >> "$1"/usr/bin/c99 diff --git a/libpng/build b/libpng/build new file mode 100644 index 0000000..94632fb --- /dev/null +++ b/libpng/build @@ -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 \ No newline at end of file diff --git a/libpng/package b/libpng/package new file mode 100644 index 0000000..91e3ee0 --- /dev/null +++ b/libpng/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="1.6.37" +pkg_config_name="libpng" +pkg_config_makedepends="" +pkg_config_depends="" \ No newline at end of file