wok-6.x annotate unrar/receipt @ rev 15535
Up: firefox-dev (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:36:12 2013 +0100 (2013-11-24) |
parents | af022550edde |
children | 83e42616e3dc |
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" |
pascal@15363 | 8 LICENSE="GPL2" |
gokhlayeh@5969 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5969 | 10 WEB_SITE="https://gna.org/projects/unrar/" |
gokhlayeh@5969 | 11 WGET_URL="http://download.gna.org/unrar/$TARBALL" |
gokhlayeh@5969 | 12 |
gokhlayeh@5969 | 13 # Rules to configure and make the package. |
gokhlayeh@5969 | 14 compile_rules() |
gokhlayeh@5969 | 15 { |
gokhlayeh@5969 | 16 cd $src |
gokhlayeh@5969 | 17 ./configure \ |
gokhlayeh@5969 | 18 --prefix=/usr \ |
gokhlayeh@5969 | 19 --infodir=/usr/share/info \ |
gokhlayeh@5969 | 20 --mandir=/usr/share/man \ |
gokhlayeh@5969 | 21 $CONFIGURE_ARGS && |
pascal@15363 | 22 make && make DESTDIR=$DESTDIR install |
gokhlayeh@5969 | 23 } |
gokhlayeh@5969 | 24 |
gokhlayeh@5969 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5969 | 26 genpkg_rules() |
gokhlayeh@5969 | 27 { |
gokhlayeh@5969 | 28 mkdir -p $fs/usr |
pascal@15363 | 29 cp -a $install/usr/bin $fs/usr |
gokhlayeh@5969 | 30 } |
gokhlayeh@5969 | 31 |