wok-stable view arj/receipt @ rev 4481

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