wok-current annotate cabextract/receipt @ rev 6654
Added linux-api-headers. This is like linux-headers but it doesn't depend on linux to be build. Also this means we can update the kernel without rebuild the toolchain.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Oct 11 02:17:02 2010 +0000 (2010-10-11) |
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 |