# HG changeset patch # User Pascal Bellard # Date 1346849115 -7200 # Node ID 6020e263cbbc2a3d433117615c62bc2f565ca0e6 # Parent 7bcb31854501c3c55cbd9c8de616c278b5760741 Add icoutils diff -r 7bcb31854501 -r 6020e263cbbc get-playonlinux/stuff/get-playonlinux --- a/get-playonlinux/stuff/get-playonlinux Tue Sep 04 22:32:59 2012 +0200 +++ b/get-playonlinux/stuff/get-playonlinux Wed Sep 05 14:45:15 2012 +0200 @@ -8,7 +8,7 @@ busybox wget -s $URL || URL=http://www.playonlinux.com/en/download.html URL=$(wget -O - $URL | sed '/z2*"/!d;s/.*ref="\([^"]*\).*/\1/') wget -O - $URL | tar xzf - -for i in bash wxpython cabextract imagemagick gnupg wine wget ; do +for i in bash wxpython cabextract imagemagick gnupg wine wget icoutils ; do [ -d /var/lib/tazpkg/installed/$i/ ] || tazpkg get-install $i done cd playonlinux diff -r 7bcb31854501 -r 6020e263cbbc icoutils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/icoutils/receipt Wed Sep 05 14:45:15 2012 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="icoutils" +VERSION="0.30.0" +CATEGORY="misc" +SHORT_DESC="Microsoft Windows icon and cursor files convertion tools." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.nongnu.org/icoutils" +WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" +#http://savannah.nongnu.org/download/icoutils/icoutils-0.30.0.tar.bz2 + +DEPENDS="png" +BUILD_DEPENDS="png-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --mandir=/usr/share/man \ + --localstatedir=/var \ + $CONFIGURE_ARGS && + make && + make -j 1 DESTDIR=$DESTDIR install +return 1 +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +}