wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freeimage"
4 VERSION="3141"
5 CATEGORY="graphics"
6 SHORT_DESC="Library to support popular graphics image formats like PNG, BMP, \
7 JPEG, TIFF and others"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://freeimage.sourceforge.net/"
12 TARBALL="FreeImage$VERSION.zip"
13 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
15 SPLIT="freeimage-dev"
17 compile_rules() {
18 pkgdir=$DESTDIR
19 incl=$pkgdir/usr/include
20 dest=$pkgdir/usr/lib
21 install -d $dest
22 install -d $incl
23 sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu
24 sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu
25 sed -e "s|ldconfig||g" -i Makefile.gnu
26 export CXXFLAGS="-Wno-narrowing"
27 make &&
28 make DESTDIR=$pkgdir install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 freeimage) copy @std;;
34 *-dev) copy @dev;;
35 esac
36 }