wok-current annotate cabextract/receipt @ rev 5643
Up lguest 2.6.24
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 28 22:15:48 2010 +0200 (2010-05-28) |
parents | a075ff895254 |
children | 828f3da70f8d |
rev | line source |
---|---|
erjo@755 | 1 # SliTaz package receipt. |
erjo@755 | 2 |
erjo@755 | 3 PACKAGE="cabextract" |
erjo@755 | 4 VERSION="1.2" |
erjo@755 | 5 CATEGORY="utilities" |
erjo@755 | 6 SHORT_DESC="Extracting Microsoft cabinet files" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@755 | 8 DEPENDS="" |
erjo@755 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@755 | 10 WEB_SITE="http://www.cabextract.org.uk/" |
erjo@755 | 11 WGET_URL="http://www.cabextract.org.uk/$TARBALL" |
jozee@4933 | 12 TAGS="extract cab exe" |
erjo@755 | 13 |
erjo@755 | 14 # Rules to configure and make the package. |
erjo@755 | 15 compile_rules() |
erjo@755 | 16 { |
erjo@755 | 17 cd $src |
erjo@755 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@755 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@755 | 20 make |
erjo@755 | 21 make DESTDIR=$PWD/_pkg install |
erjo@755 | 22 } |
erjo@755 | 23 |
erjo@755 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@755 | 25 genpkg_rules() |
erjo@755 | 26 { |
erjo@755 | 27 mkdir -p $fs/usr |
erjo@755 | 28 cp -a $_pkg/usr/bin $fs/usr |
erjo@755 | 29 strip -s $fs/usr/bin/* |
erjo@755 | 30 } |
erjo@755 | 31 |