smlinux/base/giflib/giflib.SMBuild
PktSurf 0e36a18b56 Fixed CFLAGS variable in base/{db,gawk}
Converted uppercase variables to lowercase variables in base/fftw
Insert CFLAGS into following build files since the CFLAGS set by bldpkg are not respected by the build systems of these packages:
-> giflib
-> git
-> libelf-compat
Discarded V=s and V=1 arguments from make command in base/{hdparm,hunspell,jam}
Discarded CPU architecture check and related builddist variable from base/gmp
Removed command to discard static library in base/libaio
Temporarily commented out sed command in base/libxml2
2022-10-04 20:20:41 +05:30

30 lines
881 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-$version.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 CFLAGS="$CFLAGS"
make install DESTDIR=$pkg PREFIX="/"
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
b87cbea325d0b13ee75ea55adc63e7ebeea7ae77af395847a38c88892a8b308fed248a57c2ec95da8cb8b3fec9efe3b2e4890006f59bb64866abe86b91ebf895 giflib-5.2.1.tar.lz
5de1e8724f5221fa3637b4e6a482f650f7608673e2c9200233290018ec8a0bf1beea049b3979b5f57dbf2b2a5fda409324e636e9af10582fd01c71d92d4de3b3 giflib-5.1.9-fix-missing-quantize-API-symbols.patch
"