wok-next view libnet/receipt @ rev 21016
Small updates; mdocml -> mandoc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 15 16:44:45 2018 +0300 (2018-10-15) |
parents | be4a09f51254 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnet"
4 VERSION="1.2-rc3"
5 CATEGORY="network"
6 SHORT_DESC="API for commonly used low-level net functions"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://sourceforge.net/projects/libnet-dev/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/sam-github/libnet/archive/$TARBALL"
14 BUILD_DEPENDS="automake libtool"
15 SPLIT="libnet-dev"
17 compile_rules() {
18 # documentation is absent -> build is broken
19 sed -i 's|doc||' $src/libnet/Makefile.am
21 # github sources need to be preprocessed
22 cd libnet
23 mkdir m4
24 autoreconf -i &&
26 ./configure \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libnet) copy @std;;
36 *-dev) copy @dev;;
37 esac
38 }