smlinux/base/libpng/libpng.SMBuild
PktSurf 1a260f04ce Disabled native language support (nls) in:
-> base/gdb,gdbm,glib,iso-codes,libgpg-error,
-> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz
Made fixes to a bunch of base build files to put stuff in /usr
2024-10-18 10:50:11 +05:30

35 lines
744 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libpng
version=1.6.37
build=1sml
homepage="http://www.libpng.org/pub/png/libpng.html"
download="https://download.sourceforge.net/libpng/libpng-$version.tar.xz"
desc="Portable Network Graphics library"
requires="zlib"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make
make install DESTDIR=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
fb2f6d82ea4ae1206d6857fb471b71c56aa84a64a6943174b6da96cbe8fa38e2580401647981d9b1488a6fa8d43b661db11995fdacdab01f21911e40cb343ed0 libpng-1.6.37.tar.lz
"