wok-4.x view miau/receipt @ rev 9113

slitaz-doc: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 11:34:20 2011 +0100 (2011-03-05)
parents
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="miau"
4 VERSION="0.6.5"
5 CATEGORY="network"
6 SHORT_DESC="Another IRC-bouncer/proxy."
7 MAINTAINER="christophe.paris@free.fr"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://miau.sourceforge.net/"
10 WGET_URL="http://downloads.sourceforge.net/miau/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 --docdir=/usr/share/doc \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 strip -s $fs/usr/bin/miau
32 cp -a $_pkg/usr/share $fs/usr
33 }