wok view cabextract/receipt @ rev 1112
iw: fake source tree before cd
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jul 19 21:06:23 2008 +0200 (2008-07-19) |
parents | fab97211d72f |
children | f7e96b8e3444 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cabextract"
4 VERSION="1.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Extracting Microsoft cabinet files"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.cabextract.org.uk/"
11 WGET_URL="http://www.cabextract.org.uk/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 strip -s $fs/usr/bin/*
29 }