wok-next annotate irssi/receipt @ rev 15685
linux-lxc: add post_install() for update menu.lst
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:21:07 2013 +0100 (2013-12-21) |
parents | 6ae5a11c34c0 |
children | 9bbc75c6c3d7 |
rev | line source |
---|---|
mallory@1114 | 1 # SliTaz package receipt |
mallory@1099 | 2 |
mallory@1099 | 3 PACKAGE="irssi" |
slaxemulator@5393 | 4 VERSION="0.8.15" |
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 { |
mallory@1114 | 20 cd $src |
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 } |
mallory@1099 | 38 |