wok-6.x annotate cabextract/receipt @ rev 2776
Up: mysql-test (5.0.77)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 27 11:07:12 2009 +0200 (2009-04-27) |
parents | fab97211d72f |
children | f7e96b8e3444 |
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" |
erjo@755 | 12 |
erjo@755 | 13 # Rules to configure and make the package. |
erjo@755 | 14 compile_rules() |
erjo@755 | 15 { |
erjo@755 | 16 cd $src |
erjo@755 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@755 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
erjo@755 | 19 make |
erjo@755 | 20 make DESTDIR=$PWD/_pkg install |
erjo@755 | 21 } |
erjo@755 | 22 |
erjo@755 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@755 | 24 genpkg_rules() |
erjo@755 | 25 { |
erjo@755 | 26 mkdir -p $fs/usr |
erjo@755 | 27 cp -a $_pkg/usr/bin $fs/usr |
erjo@755 | 28 strip -s $fs/usr/bin/* |
erjo@755 | 29 } |
erjo@755 | 30 |