wok view irssi/receipt @ rev 24100
Up gzip (1.11), lrzip (0.641), lziprecover (1.22)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 16 13:07:33 2021 +0000 (2021-09-16) |
parents | 70f0e2dabf6b |
children | 61f39abb4397 |
line source
1 # SliTaz package receipt
3 PACKAGE="irssi"
4 VERSION="1.2.2"
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 -j 1 &&
34 make DESTDIR=$DESTDIR install
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 }