wok annotate vde2/receipt @ rev 23985
linld: up to 60k for header.com
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 28 09:45:01 2020 +0000 (2020-11-28) |
parents | 79baebcd1145 |
children | 0c04fc34847a |
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@15002 | 8 LICENSE="GPL2" |
pascal@6896 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6896 | 10 WEB_SITE="http://vde.sourceforge.net/" |
pascal@6921 | 11 WGET_URL="$SF_MIRROR/vde/$TARBALL" |
pascal@6896 | 12 |
pascal@15002 | 13 DEPENDS="libcrypto" |
pascal@15002 | 14 BUILD_DEPENDS="libcrypto libcrypto-dev" |
pascal@15002 | 15 |
pascal@6896 | 16 # Rules to configure and make the package. |
pascal@6896 | 17 compile_rules() |
pascal@6896 | 18 { |
pascal@6896 | 19 cd $src |
pascal@6896 | 20 ./configure --prefix=/usr \ |
pascal@6896 | 21 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@6896 | 22 --sysconfdir=/etc \ |
pascal@6896 | 23 --mandir=/usr/share/man \ |
pascal@6896 | 24 $CONFIGURE_ARGS && |
pascal@6896 | 25 make && |
pascal@15002 | 26 make DESTDIR=$DESTDIR install |
pascal@6896 | 27 } |
pascal@6896 | 28 |
pascal@6896 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6896 | 30 genpkg_rules() |
pascal@6896 | 31 { |
pascal@6896 | 32 mkdir -p $fs/usr/lib/vde2 |
pascal@15002 | 33 cp -a $install/etc $fs |
pascal@15002 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 35 cp -a $install/usr/sbin $fs/usr |
pascal@15002 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15002 | 37 cp -a $install/usr/lib/vde2/*.so* $fs/usr/lib/vde2 |
pascal@6896 | 38 } |