wok-stable view irssi/receipt @ rev 11395

Compat: re-implement tazwok specific code into linux receipt.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 06:08:28 2011 +0100 (2011-12-10)
parents faa4c6e9600b
children
line source
1 # SliTaz package receipt
3 PACKAGE="irssi"
4 VERSION="0.8.15"
5 CATEGORY="network"
6 SHORT_DESC="Lightweight console IRC client"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="glib openssl perl ncurses"
9 BUILD_DEPENDS="glib glib-dev ncurses-dev pkg-config slitaz-toolchain openssl-dev perl"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://irssi.org/"
12 WGET_URL="http://irssi.org/files/$TARBALL"
13 TAGS="irc"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc/irssi \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/share/irssi $fs/usr/share
35 }