wok-current annotate icoutils/receipt @ rev 13338
Add icoutils
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 05 14:45:15 2012 +0200 (2012-09-05) |
parents | |
children | e2ec61dec110 |
rev | line source |
---|---|
pascal@13338 | 1 # SliTaz package receipt. |
pascal@13338 | 2 |
pascal@13338 | 3 PACKAGE="icoutils" |
pascal@13338 | 4 VERSION="0.30.0" |
pascal@13338 | 5 CATEGORY="misc" |
pascal@13338 | 6 SHORT_DESC="Microsoft Windows icon and cursor files convertion tools." |
pascal@13338 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13338 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13338 | 9 WEB_SITE="http://www.nongnu.org/icoutils" |
pascal@13338 | 10 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" |
pascal@13338 | 11 #http://savannah.nongnu.org/download/icoutils/icoutils-0.30.0.tar.bz2 |
pascal@13338 | 12 |
pascal@13338 | 13 DEPENDS="png" |
pascal@13338 | 14 BUILD_DEPENDS="png-dev" |
pascal@13338 | 15 |
pascal@13338 | 16 # Rules to configure and make the package. |
pascal@13338 | 17 compile_rules() |
pascal@13338 | 18 { |
pascal@13338 | 19 cd $src |
pascal@13338 | 20 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@13338 | 21 --localstatedir=/var \ |
pascal@13338 | 22 $CONFIGURE_ARGS && |
pascal@13338 | 23 make && |
pascal@13338 | 24 make -j 1 DESTDIR=$DESTDIR install |
pascal@13338 | 25 return 1 |
pascal@13338 | 26 } |
pascal@13338 | 27 |
pascal@13338 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13338 | 29 genpkg_rules() |
pascal@13338 | 30 { |
pascal@13338 | 31 mkdir -p $fs/usr |
pascal@13338 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@13338 | 33 } |