wok-next view libdaq/receipt @ rev 20814

palemoon: fatal error: sys/int_types.h
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 13 19:28:54 2018 +0000 (2018-06-13)
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 }