wok view arj/receipt @ rev 25501
Up aspell-pl (6.0_20230101-0), monitorix (3.15.0), simh (3.12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 11 14:20:29 2023 +0000 (22 months ago) |
parents | 5f6c5106b1f5 |
children | 6b33f9da53d4 |
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="https://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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/arj/files/arj/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*arj-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/gnu
28 autoheader
29 autoconf
30 ./configure --prefix=/usr --infodir=/usr/share/info \
31 --mandir=/usr/share/man $CONFIGURE_ARGS
32 cd ..
33 busybox patch -p0 < $stuff/fardata.u
34 # Ugly hack...
35 sed -i 's/Patch not found.*/&return(POSTPROC_ERL_SUCCESS);/' postproc.c
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib $fs/usr
46 }