wok view lha/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents ede1d184d5c5
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="https://github.com/jca02266/lha/"
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 }