wok-current view lha/receipt @ rev 25521

created recipes for unibilium and unibilium-dev 2.1.1
author Hans-G?nter Theisgen
date Fri Feb 24 17:05:40 2023 +0100 (21 months ago)
parents 6c3718ca17b6
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lha"
4 VERSION="1.14i-ac20050924p1"
5 CATEGORY="system-tools"
6 SHORT_DESC="File archiver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="CC-SA"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.jp/"
11 WGET_URL="http://osdn.dl.sourceforge.jp/$PACKAGE/22231/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://github.com/jca02266/lha/tags 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure --prefix=/usr --infodir=/usr/share/info \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }