wok 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 5edeea43421a
children 08d36ad79eb1
files irssi/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/irssi/receipt	Thu Jul 17 23:37:17 2008 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="irssi"
     1.7 +VERSION="0.8.12"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Text-base IRC client"
    1.10 +MAINTAINER="mallory@sweetpeople.org"
    1.11 +DEPENDS=""
    1.12 +BUILD_DEPENDS="glib-dev ncurses-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://irssi.org/"
    1.15 +WGET_URL="http://irssi.org/files/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +    cd $src
    1.21 +    ./configure \
    1.22 +    	--prefix=/usr
    1.23 +    make
    1.24 +    make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	cp -a $_pkg/usr/bin/irssi $fs/usr/bin/irssi
    1.32 +	strip -s $fs/usr/bin/*
    1.33 +
    1.34 +}