wok-next view irssi/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 0ec6086e21d6 |
children | d5aab818505e |
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="mallory@sweetpeople.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="irssi-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=$DESTDIR 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 }