wok-next view vanessa_socket/receipt @ rev 17429

luafilesystem: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 17:51:34 2014 +0100 (2014-12-05)
parents 1c48f84ec25e
children 67f5b3bae0a8
line source
1 # SliTaz package receipt.
3 PACKAGE="vanessa_socket"
4 VERSION="0.0.7"
5 CATEGORY="network"
6 SHORT_DESC="Simplifies TCP/IP socket operations."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.vergenet.net/linux/vanessa"
11 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="vanessa_logger popt"
14 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger popt-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS
22 make
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }