wok-stable annotate vde2/receipt @ rev 7156
Added libldap and openldap to openldap-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 06 22:26:06 2010 +0000 (2010-11-06) |
parents | d891dfb1f1ab |
children | 79baebcd1145 |
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@6896 | 8 DEPENDS="libcryto" |
pascal@6896 | 9 BUILD_DEPENDS="libcryto libcryto-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 } |