wok-current annotate arj/receipt @ rev 16812
itstool: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 10 09:44:21 2014 +0200 (2014-07-10) |
parents | 2a5cc8208d36 |
children | 04d824c95283 |
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@15379 | 8 LICENSE="GPL2" |
pascal@2643 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2643 | 10 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@2643 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15379 | 12 TAGS="compression archive" |
pascal@15379 | 13 |
pascal@2643 | 14 BUILD_DEPENDS="autoconf" |
pascal@2643 | 15 |
pascal@2643 | 16 # Rules to configure and make the package. |
pascal@2643 | 17 compile_rules() |
pascal@2643 | 18 { |
pascal@2643 | 19 cd $src/gnu |
pascal@2643 | 20 autoheader |
pascal@2643 | 21 autoconf |
pascal@2643 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2643 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@2643 | 24 cd .. |
pankso@9699 | 25 busybox patch -p0 < $stuff/fardata.u |
pascal@15588 | 26 # Ugly hack... |
pascal@15588 | 27 sed -i 's/Patch not found.*/&return(POSTPROC_ERL_SUCCESS);/' postproc.c |
pascal@15588 | 28 make -j 1 && |
pascal@15379 | 29 make DESTDIR=$DESTDIR install |
pascal@2643 | 30 } |
pascal@2643 | 31 |
pascal@2643 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2643 | 33 genpkg_rules() |
pascal@2643 | 34 { |
pascal@2643 | 35 mkdir -p $fs/usr |
pascal@15379 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15379 | 37 cp -a $install/usr/lib $fs/usr |
pascal@2643 | 38 } |