wok-next annotate arj/receipt @ rev 2643
Add arj
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 17 22:18:55 2009 +0200 (2009-04-17) |
parents | |
children | 1914d25b57ad |
rev | line source |
---|---|
pascal@2643 | 1 # SliTaz package receipt. |
pascal@2643 | 2 |
pascal@2643 | 3 PACKAGE="arj" |
pascal@2643 | 4 VERSION="3.10.22" |
pascal@2643 | 5 CATEGORY="system-tools" |
pascal@2643 | 6 SHORT_DESC="ARJ archiver." |
pascal@2643 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2643 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2643 | 9 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@2643 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@2643 | 11 BUILD_DEPENDS="autoconf" |
pascal@2643 | 12 |
pascal@2643 | 13 # Rules to configure and make the package. |
pascal@2643 | 14 compile_rules() |
pascal@2643 | 15 { |
pascal@2643 | 16 cd $src/gnu |
pascal@2643 | 17 autoheader |
pascal@2643 | 18 autoconf |
pascal@2643 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2643 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@2643 | 21 cd .. |
pascal@2643 | 22 make -k |
pascal@2643 | 23 make DESTDIR=$PWD/_pkg install |
pascal@2643 | 24 } |
pascal@2643 | 25 |
pascal@2643 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2643 | 27 genpkg_rules() |
pascal@2643 | 28 { |
pascal@2643 | 29 mkdir -p $fs/usr |
pascal@2643 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@2643 | 31 cp -a $_pkg/usr/lib $fs/usr |
pascal@2643 | 32 } |
pascal@2643 | 33 |