wok-next annotate irssi/receipt @ rev 21094
Apply "force-arch" for selected dev packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 31 17:23:40 2018 +0200 (2018-12-31) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
mallory@1099 | 2 |
mallory@1099 | 3 PACKAGE="irssi" |
al@20863 | 4 VERSION="1.1.1" |
mallory@1099 | 5 CATEGORY="network" |
mallory@1114 | 6 SHORT_DESC="Lightweight console IRC client" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20863 | 9 WEB_SITE="https://irssi.org/" |
al@20534 | 10 |
al@20863 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20863 | 12 WGET_URL="https://github.com/irssi/irssi/releases/download/$VERSION/$TARBALL" |
mallory@1099 | 13 |
al@21094 | 14 COOKOPTS="force-arch" # different .h |
al@21094 | 15 |
al@20863 | 16 BUILD_DEPENDS="glib-dev openssl-dev ncurses-dev perl-dev" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
pascal@15002 | 18 |
al@20534 | 19 compile_rules() { |
mallory@1114 | 20 ./configure \ |
mallory@1114 | 21 --sysconfdir=/etc/irssi \ |
al@20863 | 22 --with-perl-lib=vendor \ |
pascal@1458 | 23 $CONFIGURE_ARGS && |
al@20575 | 24 fix libtool && |
pascal@1458 | 25 make && |
al@21020 | 26 make DESTDIR=$install install || return 1 |
al@20863 | 27 |
al@20863 | 28 find $install -type f -exec chmod u+w '{}' \; # for Perl files |
mallory@1099 | 29 } |
mallory@1099 | 30 |
al@20534 | 31 genpkg_rules() { |
al@20863 | 32 case $PACKAGE in |
al@20863 | 33 irssi) |
al@20863 | 34 copy @std |
al@20863 | 35 DEPENDS="glib ncurses openssl perl" |
al@20863 | 36 CONFIG_FILES="/etc/irssi/irssi.conf" |
al@20863 | 37 TAGS="irc" |
al@20863 | 38 ;; |
al@20863 | 39 *-dev) |
al@20863 | 40 copy @dev |
al@20863 | 41 ;; |
al@20863 | 42 esac |
mallory@1114 | 43 } |