wok view vde2/receipt @ rev 12085

fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:47:23 2012 -0500 (2012-03-09)
parents f02c593941e6
children 7896f0694ef6
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 }