wok view libnids/receipt @ rev 25694

dropbear: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 14:12:01 2024 +0000 (6 weeks ago)
parents 67993c9076ed
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libnids"
4 VERSION="1.26"
5 CATEGORY="development"
6 SHORT_DESC="An E-component of Network Intrusion Detection System."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/MITRECND/libnids/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/MITRECND/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
13 DEPENDS=""
14 BUILD_DEPENDS="glib-dev libpcap-dev libnet-dev pkg-config"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i "s|^install_prefix.*|install_prefix = $DESTDIR|" \
27 src/Makefile*
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders include
40 cook_copy_folders lib
41 }