wok annotate irssi/receipt @ rev 18897

syslinux/isohybrid.exe add -r support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 14 22:06:06 2016 +0100 (2016-02-14)
parents 8896b3613b85
children a78610b2eb47
rev   line source
mallory@1114 1 # SliTaz package receipt
mallory@1099 2
mallory@1099 3 PACKAGE="irssi"
devl547@17611 4 VERSION="0.8.17"
mallory@1099 5 CATEGORY="network"
mallory@1114 6 SHORT_DESC="Lightweight console IRC client"
mallory@1099 7 MAINTAINER="mallory@sweetpeople.org"
pascal@15002 8 LICENSE="GPL2"
mallory@1114 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@1099 10 WEB_SITE="http://irssi.org/"
mallory@1099 11 WGET_URL="http://irssi.org/files/$TARBALL"
jozee@4938 12 TAGS="irc"
mallory@1099 13
pascal@15002 14 DEPENDS="glib openssl perl ncurses"
pascal@15002 15 BUILD_DEPENDS="glib glib-dev ncurses-dev pkg-config slitaz-toolchain openssl-dev perl"
pascal@15002 16
mallory@1099 17 # Rules to configure and make the package.
mallory@1099 18 compile_rules()
mallory@1114 19 {
pascal@17628 20 export LDFLAGS="$LDFLAGS -ltinfo"
mallory@1114 21 ./configure \
mallory@1114 22 --prefix=/usr \
mallory@1114 23 --sysconfdir=/etc/irssi \
pascal@1458 24 $CONFIGURE_ARGS &&
pascal@1458 25 make &&
pascal@15002 26 make DESTDIR=$DESTDIR install
mallory@1099 27 }
mallory@1099 28
mallory@1099 29 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1099 30 genpkg_rules()
mallory@1099 31 {
mallory@1114 32 mkdir -p $fs/usr/share/
pascal@15002 33 cp -a $install/etc $fs
pascal@15002 34 cp -a $install/usr/bin $fs/usr
pascal@15002 35 cp -a $install/usr/lib $fs/usr
pascal@15002 36 cp -a $install/usr/share/irssi $fs/usr/share
mallory@1114 37 }