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