wok-next annotate libnet/receipt @ rev 19943
Up xine-lib (1.2.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 10:16:55 2017 +0200 (2017-10-16) |
parents | 8d6f480bf664 |
children | d2950281f122 |
rev | line source |
---|---|
al@19818 | 1 # SliTaz package receipt v2. |
slaxemulator@7179 | 2 |
slaxemulator@7179 | 3 PACKAGE="libnet" |
al@19818 | 4 VERSION="1.2-rc3" |
slaxemulator@7179 | 5 CATEGORY="network" |
al@19818 | 6 SHORT_DESC="API for commonly used low-level net functions" |
slaxemulator@7179 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15482 | 8 LICENSE="BSD" |
al@19818 | 9 WEB_SITE="https://sourceforge.net/projects/libnet-dev/" |
al@19818 | 10 |
slaxemulator@7179 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19818 | 12 WGET_URL="https://github.com/sam-github/libnet/archive/$TARBALL" |
al@19818 | 13 |
al@19818 | 14 BUILD_DEPENDS="automake libtool" |
al@19818 | 15 SPLIT="libnet-dev" |
slaxemulator@7179 | 16 |
slaxemulator@7179 | 17 # Rules to configure and make the package. |
slaxemulator@7179 | 18 compile_rules() |
slaxemulator@7179 | 19 { |
al@19818 | 20 # documentation is absent -> build is broken |
al@19818 | 21 sed -i 's|doc||' $src/libnet/Makefile.am |
al@19818 | 22 |
al@19818 | 23 # github sources need to be preprocessed |
al@19818 | 24 cd libnet |
al@19818 | 25 mkdir m4 |
al@19818 | 26 autoreconf -i && |
al@19818 | 27 |
al@19818 | 28 ./configure $CONFIGURE_ARGS && make && make install |
slaxemulator@7179 | 29 } |
slaxemulator@7179 | 30 |
slaxemulator@7179 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7179 | 32 genpkg_rules() |
slaxemulator@7179 | 33 { |
al@19818 | 34 case $PACKAGE in |
al@19818 | 35 libnet) copy @std;; |
al@19818 | 36 *-dev) copy @dev;; |
al@19818 | 37 esac |
slaxemulator@7179 | 38 } |