wok-6.x annotate arj/receipt @ rev 10561

jabberd2: force CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 21:54:53 2011 +0200 (2011-05-25)
parents 714ffbad1e10
children 2a5cc8208d36
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 ..
pankso@9699 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