wok view vde2/receipt @ rev 6921

fix vde2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 22 20:31:54 2010 +0200 (2010-10-22)
parents d891dfb1f1ab
children 79baebcd1145
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="libcryto"
9 BUILD_DEPENDS="libcryto libcryto-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 }