wok-next view libdaq/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | a0bea82010d7 |
children | d5aab818505e |
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 compile_rules() {
18 ./bootstrap &&
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make -j1 &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libdaq)
28 copy @std
29 DEPENDS="libpcap"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libdaq libpcap-dev"
34 ;;
35 esac
36 }