wok-current annotate libdnet/receipt @ rev 23994

linld: no initrd fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 15 08:41:50 2020 +0000 (2020-12-15)
parents 6c3718ca17b6
children b569b85b0fb9
rev   line source
slaxemulator@6607 1 # SliTaz package receipt.
slaxemulator@6607 2
slaxemulator@6607 3 PACKAGE="libdnet"
slaxemulator@6607 4 VERSION="1.12"
slaxemulator@6607 5 CATEGORY="network"
slaxemulator@6607 6 SHORT_DESC="A simplified, portable interface to serveral low-level networking routines"
slaxemulator@6607 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15472 8 LICENSE="BSD"
slaxemulator@6607 9 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@20674 10 WEB_SITE="https://github.com/dugsong/libdnet"
slaxemulator@6607 11 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL"
slaxemulator@6607 12
pascal@15472 13 DEPENDS="python"
pascal@15472 14 BUILD_DEPENDS="python python-dev"
pascal@15472 15
slaxemulator@6607 16 # Rules to configure and make the package.
slaxemulator@6607 17 compile_rules()
slaxemulator@6607 18 {
slaxemulator@6607 19 cd $src
slaxemulator@6607 20 ./configure \
slaxemulator@6607 21 --prefix=/usr \
slaxemulator@6607 22 --infodir=/usr/share/info \
slaxemulator@6607 23 --mandir=/usr/share/man \
slaxemulator@6607 24 $CONFIGURE_ARGS &&
pascal@15472 25 make && make DESTDIR=$DESTDIR install
slaxemulator@6607 26 }
slaxemulator@6607 27
slaxemulator@6607 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6607 29 genpkg_rules()
slaxemulator@6607 30 {
slaxemulator@6607 31 mkdir -p $fs/usr/lib
pascal@15472 32 cp -a $install/usr/sbin $fs/usr
pascal@15472 33 cp -a $install/usr/lib/libdnet $fs/usr/lib
pascal@15472 34 cp -a $install/usr/lib/*.1* $fs/usr/lib
slaxemulator@6607 35 }
slaxemulator@6607 36