wok-current annotate arj/receipt @ rev 4664
up: sudo (1.7.2p2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Dec 29 00:03:07 2009 +0100 (2009-12-29) |
parents | c9c0ed1272f2 |
children | f4fd0777003f |
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@4198 | 22 busybox patch -p0 < ../stuff/fardata.u |
pascal@2643 | 23 make -k |
pascal@2643 | 24 make DESTDIR=$PWD/_pkg install |
pascal@2643 | 25 } |
pascal@2643 | 26 |
pascal@2643 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2643 | 28 genpkg_rules() |
pascal@2643 | 29 { |
pascal@2643 | 30 mkdir -p $fs/usr |
pascal@2643 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@2643 | 32 cp -a $_pkg/usr/lib $fs/usr |
pascal@2643 | 33 } |
pascal@2643 | 34 |