wok-next view libnet/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 d2950281f122
children
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="devel@slitaz.org"
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="$PACKAGE-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 }