wok-current annotate vde2/receipt @ rev 14448
Up: slock (1.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 27 02:45:48 2013 +0200 (2013-04-27) |
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 } |