wok rev 13338
Add icoutils
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 05 14:45:15 2012 +0200 (2012-09-05) |
parents | 7bcb31854501 |
children | e2ec61dec110 |
files | get-playonlinux/stuff/get-playonlinux icoutils/receipt |
line diff
1.1 --- a/get-playonlinux/stuff/get-playonlinux Tue Sep 04 22:32:59 2012 +0200 1.2 +++ b/get-playonlinux/stuff/get-playonlinux Wed Sep 05 14:45:15 2012 +0200 1.3 @@ -8,7 +8,7 @@ 1.4 busybox wget -s $URL || URL=http://www.playonlinux.com/en/download.html 1.5 URL=$(wget -O - $URL | sed '/z2*"/!d;s/.*ref="\([^"]*\).*/\1/') 1.6 wget -O - $URL | tar xzf - 1.7 -for i in bash wxpython cabextract imagemagick gnupg wine wget ; do 1.8 +for i in bash wxpython cabextract imagemagick gnupg wine wget icoutils ; do 1.9 [ -d /var/lib/tazpkg/installed/$i/ ] || tazpkg get-install $i 1.10 done 1.11 cd playonlinux
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/icoutils/receipt Wed Sep 05 14:45:15 2012 +0200 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="icoutils" 2.7 +VERSION="0.30.0" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="Microsoft Windows icon and cursor files convertion tools." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.12 +WEB_SITE="http://www.nongnu.org/icoutils" 2.13 +WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" 2.14 +#http://savannah.nongnu.org/download/icoutils/icoutils-0.30.0.tar.bz2 2.15 + 2.16 +DEPENDS="png" 2.17 +BUILD_DEPENDS="png-dev" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + ./configure --prefix=/usr --mandir=/usr/share/man \ 2.24 + --localstatedir=/var \ 2.25 + $CONFIGURE_ARGS && 2.26 + make && 2.27 + make -j 1 DESTDIR=$DESTDIR install 2.28 +return 1 2.29 +} 2.30 + 2.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.32 +genpkg_rules() 2.33 +{ 2.34 + mkdir -p $fs/usr 2.35 + cp -a $_pkg/usr/bin $fs/usr 2.36 +}