wok-current view libirman/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (23 months ago) |
parents | a4a9b130531d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libirman"
4 VERSION="0.4.5"
5 CATEGORY="utilities"
6 SHORT_DESC="Library for Irman."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.lirc.org/html/install.html"
11 WGET_URL="https://www.lirc.org/software/snapshots/$TARBALL"
12 CONFIG_FILES="/etc/irman.conf"
13 HOST_ARCH="i486 arm"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/etc $fs
39 }