wok-undigest diff libnet/receipt @ rev 130

pcmanfm2: style WGET_URL
author Rohit Joshi <jozee@slitaz.org>
date Mon May 17 13:23:42 2010 -0400 (2010-05-17)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libnet/receipt	Mon May 17 13:23:42 2010 -0400
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libnet"
     1.7 +SOURCE="libnet-dev"
     1.8 +VERSION="1.1.4"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Libnet provides a portable framework for low-level network packet construction."
    1.11 +MAINTAINER="claudinei@slitaz.org"
    1.12 +DEPENDS=""
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://github.com/sam-github/libnet"
    1.15 +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	src="$PACKAGE-$VERSION"
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--infodir=/usr/share/info \
    1.25 +		--mandir=/usr/share/man \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make && make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	_pkg="$WOK/$PACKAGE/$PACKAGE-$VERSION/_pkg"
    1.34 +	mkdir -p $fs/usr/lib
    1.35 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.36 +}
    1.37 +