wok-stable annotate irssi/receipt @ rev 12307
sane-backends: update wget_url,bdeps,add patchs
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Jul 02 10:27:36 2012 +0000 (2012-07-02) |
parents | faa4c6e9600b |
children |
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@2481 | 8 DEPENDS="glib openssl perl ncurses" |
pascal@1458 | 9 BUILD_DEPENDS="glib glib-dev ncurses-dev pkg-config slitaz-toolchain openssl-dev perl" |
mallory@1114 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@1099 | 11 WEB_SITE="http://irssi.org/" |
mallory@1099 | 12 WGET_URL="http://irssi.org/files/$TARBALL" |
jozee@4938 | 13 TAGS="irc" |
mallory@1099 | 14 |
mallory@1099 | 15 # Rules to configure and make the package. |
mallory@1099 | 16 compile_rules() |
mallory@1114 | 17 { |
mallory@1114 | 18 cd $src |
mallory@1114 | 19 ./configure \ |
mallory@1114 | 20 --prefix=/usr \ |
mallory@1114 | 21 --sysconfdir=/etc/irssi \ |
pascal@1458 | 22 $CONFIGURE_ARGS && |
pascal@1458 | 23 make && |
mallory@1114 | 24 make DESTDIR=$PWD/_pkg install |
mallory@1099 | 25 } |
mallory@1099 | 26 |
mallory@1099 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1099 | 28 genpkg_rules() |
mallory@1099 | 29 { |
mallory@1114 | 30 mkdir -p $fs/usr/share/ |
mallory@1114 | 31 cp -a $_pkg/etc $fs |
mallory@1114 | 32 cp -a $_pkg/usr/bin $fs/usr |
mallory@1114 | 33 cp -a $_pkg/usr/lib $fs/usr |
mallory@1114 | 34 cp -a $_pkg/usr/share/irssi $fs/usr/share |
mallory@1114 | 35 } |
mallory@1099 | 36 |