wok-next view libnet/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
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 }