wok-current view arj/receipt @ rev 16521

libgd: try an other fix!
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 00:27:15 2014 +0200 (2014-04-26)
parents 2a5cc8208d36
children 04d824c95283
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="compression archive"
14 BUILD_DEPENDS="autoconf"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/gnu
20 autoheader
21 autoconf
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS
24 cd ..
25 busybox patch -p0 < $stuff/fardata.u
26 # Ugly hack...
27 sed -i 's/Patch not found.*/&return(POSTPROC_ERL_SUCCESS);/' postproc.c
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }