wok-next annotate libnet/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d2950281f122
children
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
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@21020 15 SPLIT="$PACKAGE-dev"
slaxemulator@7179 16
al@20956 17 compile_rules() {
al@19818 18 # documentation is absent -> build is broken
al@19818 19 sed -i 's|doc||' $src/libnet/Makefile.am
al@19818 20
al@19818 21 # github sources need to be preprocessed
al@19818 22 cd libnet
al@19818 23 mkdir m4
al@19818 24 autoreconf -i &&
al@19818 25
al@20956 26 ./configure \
al@20956 27 --disable-static \
al@20956 28 $CONFIGURE_ARGS &&
al@20956 29 make &&
al@20956 30 make install
slaxemulator@7179 31 }
slaxemulator@7179 32
al@20956 33 genpkg_rules() {
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 }