wok view irssi/receipt @ rev 10026
gmp, mpc-library, mpfr: fix build system wirh --build and --host from CONFIGURE_ARGS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 21:14:41 2011 +0200 (2011-05-19) |
parents | faa4c6e9600b |
children | 7896f0694ef6 |
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 }