wok-next view libdaq/receipt @ rev 20079

Up emacs (2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 25 11:21:45 2017 +0200 (2017-10-25)
parents 6c3718ca17b6
children 0ec6086e21d6
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdaq"
4 VERSION="2.2.1"
5 CATEGORY="network"
6 SHORT_DESC="Data Acquisition library for packet I/O"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/Xiche/libdaq"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Xiche/libdaq/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="automake libtool flex bison libpcap-dev"
15 SPLIT="libdaq-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./bootstrap &&
21 ./configure \
22 $CONFIGURE_ARGS &&
23 make -j1 &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 libdaq)
32 copy @std
33 DEPENDS="libpcap"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libdaq libpcap-dev"
38 ;;
39 esac
40 }