Receipt for package "freeimage"
# SliTaz package receipt. PACKAGE="freeimage" VERSION="3.18.0" CATEGORY="graphics" SHORT_DESC="library to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" SOURCE="FreeImage" TARBALL="$SOURCE${VERSION//./}.zip" WEB_SITE="https://freeimage.sourceforge.io/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="gcc-lib-base" BUILD_DEPENDS="gcc-lib-base" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/freeimage/files/Source%20Distribution/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/Source%20Distribution/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|uname -m|echo i486|' Makefile.* patch -Np1 -i $stuff/gcc4.5_ln.patch pkgdir=$DESTDIR incl=$pkgdir/usr/include dest=$pkgdir/usr/lib install -d $dest install -d $incl sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu sed -e "s|ldconfig||g" -i Makefile.gnu make && make DESTDIR=$pkgdir install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)