wok-next view irssi/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d224c2b13c81 |
children | e19ff076dc63 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="irssi"
4 VERSION="1.1.1"
5 CATEGORY="network"
6 SHORT_DESC="Lightweight console IRC client"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://irssi.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://github.com/irssi/irssi/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="glib-dev openssl-dev ncurses-dev perl-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --sysconfdir=/etc/irssi \
20 --with-perl-lib=vendor \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make DESTDIR=$install install || return 1
26 find $install -type f -exec chmod u+w '{}' \; # for Perl files
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 irssi)
32 copy @std
33 DEPENDS="glib ncurses openssl perl"
34 CONFIG_FILES="/etc/irssi/irssi.conf"
35 TAGS="irc"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }