wok annotate vde2/receipt @ rev 12310
slim: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 17 12:55:15 2012 +0200 (2012-04-17) |
parents | f02c593941e6 |
children | 7896f0694ef6 |
rev | line source |
---|---|
pascal@6896 | 1 # SliTaz package receipt. |
pascal@6896 | 2 |
pascal@6896 | 3 PACKAGE="vde2" |
pascal@6896 | 4 VERSION="2.3.1" |
pascal@6896 | 5 CATEGORY="network" |
pascal@6896 | 6 SHORT_DESC="Virtual Distributed Ethernet." |
pascal@6896 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@7505 | 8 DEPENDS="libcrypto" |
pascal@7505 | 9 BUILD_DEPENDS="libcrypto libcrypto-dev" |
pascal@6896 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6896 | 11 WEB_SITE="http://vde.sourceforge.net/" |
pascal@6921 | 12 WGET_URL="$SF_MIRROR/vde/$TARBALL" |
pascal@6896 | 13 |
pascal@6896 | 14 # Rules to configure and make the package. |
pascal@6896 | 15 compile_rules() |
pascal@6896 | 16 { |
pascal@6896 | 17 cd $src |
pascal@6896 | 18 ./configure --prefix=/usr \ |
pascal@6896 | 19 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@6896 | 20 --sysconfdir=/etc \ |
pascal@6896 | 21 --mandir=/usr/share/man \ |
pascal@6896 | 22 $CONFIGURE_ARGS && |
pascal@6896 | 23 make && |
pascal@6896 | 24 make DESTDIR=$PWD/_pkg install |
pascal@6896 | 25 } |
pascal@6896 | 26 |
pascal@6896 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6896 | 28 genpkg_rules() |
pascal@6896 | 29 { |
pascal@6896 | 30 mkdir -p $fs/usr/lib/vde2 |
pascal@6896 | 31 cp -a $_pkg/etc $fs |
pascal@6896 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@6896 | 33 cp -a $_pkg/usr/sbin $fs/usr |
pascal@6896 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@6896 | 35 cp -a $_pkg/usr/lib/vde2/*.so* $fs/usr/lib/vde2 |
pascal@6896 | 36 } |