wok-next annotate freeimage/receipt @ rev 20781

gnupg: add also sha1
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 05:56:31 2018 +0000 (2018-06-09)
parents a9236dc0f5fb
children a18af897de8e
rev   line source
al@20464 1 # SliTaz package receipt v2.
jozee@2726 2
jozee@2726 3 PACKAGE="freeimage"
slaxemulator@6833 4 VERSION="3141"
jozee@2726 5 CATEGORY="graphics"
al@20464 6 SHORT_DESC="Library to support popular graphics image formats like PNG, BMP, \
al@20464 7 JPEG, TIFF and others"
jozee@2726 8 MAINTAINER="jozee@slitaz.org"
pascal@15588 9 LICENSE="GPL2"
jozee@2726 10 WEB_SITE="http://freeimage.sourceforge.net/"
al@20464 11
al@20464 12 TARBALL="FreeImage$VERSION.zip"
jozee@2726 13 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
jozee@2726 14
al@20464 15 SPLIT="freeimage-dev"
pascal@15588 16
al@20464 17 compile_rules() {
pascal@15602 18 pkgdir=$DESTDIR
jozee@2726 19 incl=$pkgdir/usr/include
al@20464 20 dest=$pkgdir/usr/lib
jozee@2726 21 install -d $dest
jozee@2726 22 install -d $incl
al@20464 23 sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu
al@20464 24 sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu
al@20464 25 sed -e "s|ldconfig||g" -i Makefile.gnu
pascal@20008 26 export CXXFLAGS="-Wno-narrowing"
pascal@5001 27 make &&
jozee@2726 28 make DESTDIR=$pkgdir install
jozee@2726 29 }
jozee@2726 30
al@20464 31 genpkg_rules() {
al@20464 32 case $PACKAGE in
al@20464 33 freeimage) copy @std;;
al@20464 34 *-dev) copy @dev;;
al@20464 35 esac
jozee@2726 36 }