wok view arj/receipt @ rev 25220
updated python-psutil (5.7.0 -> 5.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:55:11 2022 +0100 (2022-07-13) |
parents | 11b5e93cb5f2 |
children | 7dd01dedad38 |
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 # 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 }