wok-next view arj/receipt @ rev 12816

gpm: cross compile for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 21 01:38:41 2012 +0200 (2012-05-21)
parents 714ffbad1e10
children 2a5cc8208d36
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"
12 TAGS="compression archive"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/gnu
18 autoheader
19 autoconf
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS
22 cd ..
23 busybox patch -p0 < $stuff/fardata.u
24 make -k -j1
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 }