wok-current view irssi/receipt @ rev 24678
updated irssi (1.2.2 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 09:24:40 2022 +0100 (2022-03-12) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt
3 PACKAGE="irssi"
4 VERSION="1.2.3"
5 CATEGORY="network"
6 TAGS="irc"
7 SHORT_DESC="Lightweight console IRC client."
8 MAINTAINER="mallory@sweetpeople.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://irssi.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="glib ncurses openssl perl"
16 BUILD_DEPENDS="glib glib-dev ncurses-dev openssl-dev perl pkg-config"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc/irssi \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share/irssi $fs/usr/share
46 }