wok-6.x annotate cabextract/receipt @ rev 8301
Fix: shared-mime-info now take care of --root= option
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 01 02:50:01 2011 +0100 (2011-02-01) |
parents | f7e96b8e3444 |
children | 02bbaa9d12ba |
rev | line source |
---|---|
erjo@755 | 1 # SliTaz package receipt. |
erjo@755 | 2 |
erjo@755 | 3 PACKAGE="cabextract" |
slaxemulator@6194 | 4 VERSION="1.3" |
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 |