wok rev 1114

Update of irssi receipt with perl support, inline help and scripts.
author Mallory MOLLO <mallory@sweetpeople.org>
date Sun Jul 20 00:00:54 2008 +0200 (2008-07-20)
parents 0258e84c532f
children 4a84b1fa39c3
files irssi/receipt
line diff
     1.1 --- a/irssi/receipt	Sat Jul 19 21:19:53 2008 +0200
     1.2 +++ b/irssi/receipt	Sun Jul 20 00:00:54 2008 +0200
     1.3 @@ -1,31 +1,35 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt
     1.6  
     1.7  PACKAGE="irssi"
     1.8  VERSION="0.8.12"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Text-base IRC client"
    1.11 +SHORT_DESC="Lightweight console IRC client"
    1.12  MAINTAINER="mallory@sweetpeople.org"
    1.13 -DEPENDS=""
    1.14 -BUILD_DEPENDS="glib-dev ncurses-dev"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 +DEPENDS="glib openssl perl"
    1.17 +BUILD_DEPENDS="glib-dev ncurses-dev pkg-config slitaz-toolchain openssl-dev perl"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19  WEB_SITE="http://irssi.org/"
    1.20  WGET_URL="http://irssi.org/files/$TARBALL"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24 -{
    1.25 -    cd $src
    1.26 -    ./configure \
    1.27 -    	--prefix=/usr
    1.28 -    make
    1.29 -    make DESTDIR=$PWD/_pkg install
    1.30 +{	
    1.31 +	cd $src
    1.32 +	./configure \
    1.33 +		--prefix=/usr \
    1.34 +		--sysconfdir=/etc/irssi \
    1.35 +		$CONFIGURE_ARGS
    1.36 +	make
    1.37 +	make DESTDIR=$PWD/_pkg install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr/bin
    1.44 -	cp -a $_pkg/usr/bin/irssi $fs/usr/bin/irssi
    1.45 -	strip -s $fs/usr/bin/*
    1.46 +	mkdir -p $fs/usr/share/
    1.47 +	cp -a $_pkg/etc $fs
    1.48 +	cp -a $_pkg/usr/bin $fs/usr
    1.49 +	cp -a $_pkg/usr/lib $fs/usr
    1.50 +	cp -a $_pkg/usr/share/irssi $fs/usr/share
    1.51 +}
    1.52  
    1.53 -}