wok-current view libdnet/receipt @ rev 24458

updated gnustep-gui and gnustep-gui-dev again (0.27.0 -> 0.29.0)
author Hans-G?nter Theisgen
date Wed Feb 16 09:58:13 2022 +0100 (2022-02-16)
parents eeba7ab1dffe
children b072bd03c2c6
line source
1 # SliTaz package receipt.
3 PACKAGE="libdnet"
4 VERSION="1.12"
5 CATEGORY="network"
6 SHORT_DESC="A simplified, portable interface to serveral low-level networking routines"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="https://github.com/dugsong/libdnet"
11 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/lib/libdnet $fs/usr/lib
41 cp -a $install/usr/lib/*.1* $fs/usr/lib
42 }