wok-next view libdaq/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 0ec6086e21d6 |
children |
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="devel@slitaz.org"
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="$PACKAGE-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 }