wok-next view vde2/receipt @ rev 20496
Packages with tag "Xfce": fix (b)deps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 14 17:14:32 2018 +0200 (2018-03-14) |
parents | e6615350078d |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vde2"
4 VERSION="2.3.1"
5 CATEGORY="network"
6 SHORT_DESC="Virtual Distributed Ethernet"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://vde.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/vde/$TARBALL"
14 BUILD_DEPENDS="openssl openssl-dev"
15 SPLIT="vde2-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib/$PACKAGE \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 vde2)
31 mkdir -p $fs/usr/lib/vde2
32 cp -a $install/etc $fs
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/vde2/*.so* $fs/usr/lib/vde2
37 DEPENDS="openssl"
38 ;;
39 *-dev)
40 mkdir -p $fs/usr/lib/vde2
41 cp -a $install/usr/lib/*a $fs/usr/lib
42 cp -a $install/usr/lib/vde2/*a $fs/usr/lib/vde2
43 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
44 cp -a $install/usr/include $fs/usr
45 ;;
46 esac
47 }