wok-next annotate arj/receipt @ rev 9389
mplayer-svn: HAVE_MMAP hack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 26 13:08:17 2011 +0100 (2011-03-26) |
parents | 4273e906522b |
children | cbfb348cb173 |
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" |
jozee@4932 | 12 TAGS="compression archive" |
pascal@2643 | 13 |
pascal@2643 | 14 # Rules to configure and make the package. |
pascal@2643 | 15 compile_rules() |
pascal@2643 | 16 { |
pascal@2643 | 17 cd $src/gnu |
pascal@2643 | 18 autoheader |
pascal@2643 | 19 autoconf |
pascal@2643 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2643 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@2643 | 22 cd .. |
pascal@4198 | 23 busybox patch -p0 < ../stuff/fardata.u |
pascal@9041 | 24 make -k -j1 |
pascal@2643 | 25 make DESTDIR=$PWD/_pkg install |
pascal@2643 | 26 } |
pascal@2643 | 27 |
pascal@2643 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2643 | 29 genpkg_rules() |
pascal@2643 | 30 { |
pascal@2643 | 31 mkdir -p $fs/usr |
pascal@2643 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@2643 | 33 cp -a $_pkg/usr/lib $fs/usr |
pascal@2643 | 34 } |
pascal@2643 | 35 |