wok-4.x view vde2/receipt @ rev 11377

nfs-utils: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 09 12:31:03 2011 +0100 (2011-12-09)
parents f02c593941e6
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vde2"
4 VERSION="2.3.1"
5 CATEGORY="network"
6 SHORT_DESC="Virtual Distributed Ethernet."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="libcrypto"
9 BUILD_DEPENDS="libcrypto libcrypto-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://vde.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/vde/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --libexecdir=/usr/lib/$PACKAGE \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/vde2
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/vde2/*.so* $fs/usr/lib/vde2
36 }