wok-6.x annotate irssi/receipt @ rev 1313

Add apache
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 27 18:36:44 2008 +0000 (2008-08-27)
parents c00f0c80d4f8
children cb884d540a01
rev   line source
mallory@1114 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@1114 6 SHORT_DESC="Lightweight console IRC client"
mallory@1099 7 MAINTAINER="mallory@sweetpeople.org"
mallory@1114 8 DEPENDS="glib openssl perl"
mallory@1114 9 BUILD_DEPENDS="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"
mallory@1099 13
mallory@1099 14 # Rules to configure and make the package.
mallory@1099 15 compile_rules()
mallory@1114 16 {
mallory@1114 17 cd $src
mallory@1114 18 ./configure \
mallory@1114 19 --prefix=/usr \
mallory@1114 20 --sysconfdir=/etc/irssi \
mallory@1114 21 $CONFIGURE_ARGS
mallory@1114 22 make
mallory@1114 23 make DESTDIR=$PWD/_pkg install
mallory@1099 24 }
mallory@1099 25
mallory@1099 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1099 27 genpkg_rules()
mallory@1099 28 {
mallory@1114 29 mkdir -p $fs/usr/share/
mallory@1114 30 cp -a $_pkg/etc $fs
mallory@1114 31 cp -a $_pkg/usr/bin $fs/usr
mallory@1114 32 cp -a $_pkg/usr/lib $fs/usr
mallory@1114 33 cp -a $_pkg/usr/share/irssi $fs/usr/share
mallory@1114 34 }
mallory@1099 35