wok-next view gnet/receipt @ rev 2742
Add gnet (simple network library)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 26 00:07:37 2009 +0200 (2009-04-26) |
parents | |
children | 583bdd691510 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnet"
4 VERSION="2.0.8"
5 CATEGORY="network"
6 SHORT_DESC="GNet is a simple network library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnetlibrary.org/"
10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/$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 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }