wok annotate irssi/receipt @ rev 23302

updated perl-config-inifiles (2.49 -> 3.000003)
author Hans-G?nter Theisgen
date Sun Mar 29 17:03:57 2020 +0100 (2020-03-29)
parents f212b4cf4544
children 5ea0ce1cecc0
rev   line source
mallory@1114 1 # SliTaz package receipt
mallory@1099 2
mallory@1099 3 PACKAGE="irssi"
Hans-G?nter@22960 4 VERSION="1.2.2"
mallory@1099 5 CATEGORY="network"
Hans-G?nter@21064 6 TAGS="irc"
Hans-G?nter@21064 7 SHORT_DESC="Lightweight console IRC client."
mallory@1099 8 MAINTAINER="mallory@sweetpeople.org"
pascal@15002 9 LICENSE="GPL2"
pascal@20669 10 WEB_SITE="https://irssi.org/"
mallory@1099 11
Hans-G?nter@21064 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21064 13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$VERSION/$TARBALL"
Hans-G?nter@21064 14
Hans-G?nter@21064 15 DEPENDS="glib ncurses openssl perl"
Hans-G?nter@21064 16 BUILD_DEPENDS="glib glib-dev ncurses-dev openssl-dev perl pkg-config"
pascal@15002 17
mallory@1099 18 # Rules to configure and make the package.
mallory@1099 19 compile_rules()
mallory@1114 20 {
pascal@17628 21 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@21064 22
Hans-G?nter@21064 23 ./configure \
Hans-G?nter@21064 24 --prefix=/usr \
Hans-G?nter@21064 25 --sysconfdir=/etc/irssi \
pascal@1458 26 $CONFIGURE_ARGS &&
Hans-G?nter@21064 27 make -j 1 &&
pascal@15002 28 make DESTDIR=$DESTDIR install
mallory@1099 29 }
mallory@1099 30
mallory@1099 31 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1099 32 genpkg_rules()
mallory@1099 33 {
mallory@1114 34 mkdir -p $fs/usr/share/
Hans-G?nter@21064 35
Hans-G?nter@21064 36 cp -a $install/etc $fs
Hans-G?nter@21064 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21064 38 cp -a $install/usr/lib $fs/usr
Hans-G?nter@21064 39 cp -a $install/usr/share/irssi $fs/usr/share
mallory@1114 40 }