wok-next view libnet/receipt @ rev 20827

new tor: 0.3.3.7
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Jun 14 10:13:14 2018 +0000 (2018-06-14)
parents 8d6f480bf664
children d2950281f122
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # documentation is absent -> build is broken
21 sed -i 's|doc||' $src/libnet/Makefile.am
23 # github sources need to be preprocessed
24 cd libnet
25 mkdir m4
26 autoreconf -i &&
28 ./configure $CONFIGURE_ARGS && make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 libnet) copy @std;;
36 *-dev) copy @dev;;
37 esac
38 }