wok-next view libdaq/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
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 }