wok rev 14141

libmnl*: add 1.0.3
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Mar 01 08:37:16 2013 -0800 (2013-03-01)
parents d23ba35ad58b
children d0cbcb4841c3
files libmnl-dev/receipt libmnl/description.txt libmnl/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libmnl-dev/receipt	Fri Mar 01 08:37:16 2013 -0800
     1.3 @@ -0,0 +1,19 @@
     1.4 +# Slitaz package receipt.
     1.5 +
     1.6 +PACKAGE="libmnl-dev"
     1.7 +VERSION="1.0.3"
     1.8 +CATEGORY="networking"
     1.9 +SHORT_DESC="A minimalistic user-space library oriented to Netlink developers."
    1.10 +MAINTAINER="samuel_trassare@yahoo.com"
    1.11 +LICENSE="GNU GPLv2"
    1.12 +WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/index.html"
    1.13 +WANTED="libmnl"
    1.14 +DEPENDS="libmnl"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib
    1.20 +	cp -ar $install/usr/include $fs/usr
    1.21 +	cp -ar $install/usr/lib/pkgconfig $fs/usr/lib/
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libmnl/description.txt	Fri Mar 01 08:37:16 2013 -0800
     2.3 @@ -0,0 +1,5 @@
     2.4 +libmnl is a minimalistic user-space library oriented to Netlink developers. 
     2.5 +There are a lot of common tasks in parsing, validating, constructing of both the
     2.6 +Netlink header and TLVs that are repetitive and easy to get wrong. This library
     2.7 +aims to provide simple helpers that allows you to re-use code and to avoid 
     2.8 +re-inventing the wheel. 
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libmnl/receipt	Fri Mar 01 08:37:16 2013 -0800
     3.3 @@ -0,0 +1,27 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libmnl"
     3.7 +VERSION="1.0.3"
     3.8 +CATEGORY="networking"
     3.9 +SHORT_DESC="A minimalistic user-space library oriented to Netlink developers."
    3.10 +MAINTAINER="samuel_trassare@yahoo.com"
    3.11 +LICENSE="GNU GPLv2"
    3.12 +WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/index.html"
    3.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.14 +WGET_URL="http://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
    3.15 +
    3.16 +DEPENDS=""
    3.17 +BUILD_DEPENDS=""
    3.18 +
    3.19 +# Rules to configure and make the package.
    3.20 +compile_rules()
    3.21 +{
    3.22 +	./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install
    3.23 +}
    3.24 +
    3.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.26 +genpkg_rules()
    3.27 +{
    3.28 +	mkdir -p $fs/usr/lib
    3.29 +	cp -a $install/usr/lib/lib* $fs/usr/lib/
    3.30 +}