wok-current annotate unrar/receipt @ rev 9912
slitaz-icon: sed only if file exist
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 18:16:21 2011 +0200 (2011-05-17) |
parents | 87c4726cd748 |
children | 2a21689b0af7 |
rev | line source |
---|---|
gokhlayeh@5969 | 1 # SliTaz package receipt. |
gokhlayeh@5969 | 2 |
gokhlayeh@5969 | 3 PACKAGE="unrar" |
gokhlayeh@5969 | 4 VERSION="0.0.1" |
gokhlayeh@5969 | 5 CATEGORY="utilities" |
gokhlayeh@5969 | 6 SHORT_DESC="The free unrar" |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@5969 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5969 | 9 WEB_SITE="https://gna.org/projects/unrar/" |
gokhlayeh@5969 | 10 WGET_URL="http://download.gna.org/unrar/$TARBALL" |
gokhlayeh@5969 | 11 |
gokhlayeh@5969 | 12 # Rules to configure and make the package. |
gokhlayeh@5969 | 13 compile_rules() |
gokhlayeh@5969 | 14 { |
gokhlayeh@5969 | 15 cd $src |
gokhlayeh@5969 | 16 ./configure \ |
gokhlayeh@5969 | 17 --prefix=/usr \ |
gokhlayeh@5969 | 18 --infodir=/usr/share/info \ |
gokhlayeh@5969 | 19 --mandir=/usr/share/man \ |
gokhlayeh@5969 | 20 $CONFIGURE_ARGS && |
gokhlayeh@5969 | 21 make && make DESTDIR=$PWD/_pkg install |
gokhlayeh@5969 | 22 } |
gokhlayeh@5969 | 23 |
gokhlayeh@5969 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5969 | 25 genpkg_rules() |
gokhlayeh@5969 | 26 { |
gokhlayeh@5969 | 27 mkdir -p $fs/usr |
gokhlayeh@5969 | 28 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@5969 | 29 } |
gokhlayeh@5969 | 30 |