smlinux/base/giflib/giflib.SMBuild
PktSurf 1ddfe9abba * Fixed indentation in base/docbook build file
* Replaced patch command with applypatch function in multiple build files in base, xorg, gtk, extra and xfce sections
2022-02-23 23:21:55 +05:30

31 lines
880 B
Text
Executable file

app=giflib
version=5.2.1
build=1sml
homepage='http://giflib.sourceforge.net/'
download='https://sourceforge.net/projects/giflib/files/giflib-5.2.1.tar.gz'
desc="library for manipulating GIF files"
requires="musl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/giflib-5.1.9-fix-missing-quantize-API-symbols.patch
make
make install DESTDIR=$pkg PREFIX="/"
cp COPYING $pkgdocs/
removestaticlibs
mkfinalpkg
}
sha512sums="
b87cbea325d0b13ee75ea55adc63e7ebeea7ae77af395847a38c88892a8b308fed248a57c2ec95da8cb8b3fec9efe3b2e4890006f59bb64866abe86b91ebf895 giflib-5.2.1.tar.lz
5de1e8724f5221fa3637b4e6a482f650f7608673e2c9200233290018ec8a0bf1beea049b3979b5f57dbf2b2a5fda409324e636e9af10582fd01c71d92d4de3b3 giflib-5.1.9-fix-missing-quantize-API-symbols.patch
"