wok view arj/receipt @ rev 24019

syslinux: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 16:32:57 2021 +0000 (2021-02-28)
parents 04d824c95283
children 5f6c5106b1f5
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 WEB_SITE="http://arj.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 }