wok-current annotate irssi/receipt @ rev 1099
Add receipt for irssi
author | Mallory MOLLO <mallory@sweetpeople.org> |
---|---|
date | Thu Jul 17 23:37:17 2008 +0200 (2008-07-17) |
parents | |
children | 487771e09c89 |
rev | line source |
---|---|
mallory@1099 | 1 # SliTaz package receipt. |
mallory@1099 | 2 |
mallory@1099 | 3 PACKAGE="irssi" |
mallory@1099 | 4 VERSION="0.8.12" |
mallory@1099 | 5 CATEGORY="network" |
mallory@1099 | 6 SHORT_DESC="Text-base IRC client" |
mallory@1099 | 7 MAINTAINER="mallory@sweetpeople.org" |
mallory@1099 | 8 DEPENDS="" |
mallory@1099 | 9 BUILD_DEPENDS="glib-dev ncurses-dev" |
mallory@1099 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mallory@1099 | 11 WEB_SITE="http://irssi.org/" |
mallory@1099 | 12 WGET_URL="http://irssi.org/files/$TARBALL" |
mallory@1099 | 13 |
mallory@1099 | 14 # Rules to configure and make the package. |
mallory@1099 | 15 compile_rules() |
mallory@1099 | 16 { |
mallory@1099 | 17 cd $src |
mallory@1099 | 18 ./configure \ |
mallory@1099 | 19 --prefix=/usr |
mallory@1099 | 20 make |
mallory@1099 | 21 make DESTDIR=$PWD/_pkg install |
mallory@1099 | 22 } |
mallory@1099 | 23 |
mallory@1099 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1099 | 25 genpkg_rules() |
mallory@1099 | 26 { |
mallory@1099 | 27 mkdir -p $fs/usr/bin |
mallory@1099 | 28 cp -a $_pkg/usr/bin/irssi $fs/usr/bin/irssi |
mallory@1099 | 29 strip -s $fs/usr/bin/* |
mallory@1099 | 30 |
mallory@1099 | 31 } |