wok-next view libnl/receipt @ rev 10962

Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 20 10:22:35 2011 +0000 (2011-09-20)
parents 0b4cf0d9e1b5
children 5f4c4d819318
line source
1 # SliTaz package receipt.
3 PACKAGE="libnl"
4 VERSION="1.1"
5 CATEGORY="network"
6 SHORT_DESC="netlink library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://people.suug.ch/~tgr/libnl"
10 WGET_URL="$WEB_SITE/files/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 busybox patch -p0 -i $stuff/libnl-1.1-ULONG_MAX.patch || return 1
17 ./configure && make && make install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr
24 cp -a $_pkg/usr/lib $fs/usr
25 }