wok-6.x annotate libdaq/receipt @ rev 20934
updated fpm2 (0.76.1 -> 0.79)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 02 16:15:39 2019 +0100 (2019-03-02) |
parents | 6c3718ca17b6 |
children | aa20fcddf8bf |
rev | line source |
---|---|
slaxemulator@7077 | 1 # SliTaz package receipt. |
slaxemulator@7077 | 2 |
slaxemulator@7077 | 3 PACKAGE="libdaq" |
slaxemulator@10976 | 4 VERSION="0.6.2" |
slaxemulator@7077 | 5 CATEGORY="network" |
slaxemulator@7077 | 6 SHORT_DESC="Data Acquisition library for packet I/O." |
slaxemulator@7077 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15472 | 8 LICENSE="GPL2" |
slaxemulator@7077 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://www.snort.org/" |
pascal@20669 | 11 WGET_URL="https://www.snort.org/downloads/1221" |
slaxemulator@7077 | 12 |
pascal@15472 | 13 DEPENDS="libpcap" |
pascal@15472 | 14 BUILD_DEPENDS="libpcap-dev flex bison wget" |
pascal@15472 | 15 |
slaxemulator@7077 | 16 # Rules to configure and make the package. |
slaxemulator@7077 | 17 compile_rules() |
slaxemulator@7077 | 18 { |
slaxemulator@7077 | 19 cd $src |
slaxemulator@7077 | 20 ./configure \ |
slaxemulator@7077 | 21 $CONFIGURE_ARGS && |
slaxemulator@10976 | 22 make -j1 && make -j1 DESTDIR=$DESTDIR install |
slaxemulator@7077 | 23 } |
slaxemulator@7077 | 24 |
slaxemulator@7077 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7077 | 26 genpkg_rules() |
slaxemulator@7077 | 27 { |
gokhlayeh@8586 | 28 mkdir -p $fs/usr/lib/daq |
pascal@15472 | 29 cp -a $install/usr/lib/daq/*.so* $fs/usr/lib/daq |
pascal@15472 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7077 | 31 } |
slaxemulator@7077 | 32 |