wok-next view irssi/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
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 COOKOPTS="force-arch" # different .h
16 BUILD_DEPENDS="glib-dev openssl-dev ncurses-dev perl-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --sysconfdir=/etc/irssi \
22 --with-perl-lib=vendor \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make DESTDIR=$install install || return 1
28 find $install -type f -exec chmod u+w '{}' \; # for Perl files
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 irssi)
34 copy @std
35 DEPENDS="glib ncurses openssl perl"
36 CONFIG_FILES="/etc/irssi/irssi.conf"
37 TAGS="irc"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }