# SliTaz package receipt. PACKAGE="vde2" VERSION="2.3.1" CATEGORY="network" SHORT_DESC="Virtual Distributed Ethernet." MAINTAINER="pascal.bellard@slitaz.org" DEPENDS="libcrypto" BUILD_DEPENDS="libcrypto libcrypto-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://vde.sourceforge.net/" WGET_URL="$SF_MIRROR/vde/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr \ --libexecdir=/usr/lib/$PACKAGE \ --sysconfdir=/etc \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/vde2 cp -a $_pkg/etc $fs cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/lib/vde2/*.so* $fs/usr/lib/vde2 }