wok-6.x annotate libnet/receipt @ rev 22012
updated tcllib (1.12 -> 1.19)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Oct 19 15:47:58 2019 +0100 (2019-10-19) |
parents | 8d6f480bf664 |
children | 65d7d867e0c1 |
rev | line source |
---|---|
slaxemulator@7179 | 1 # SliTaz package receipt. |
slaxemulator@7179 | 2 |
slaxemulator@7179 | 3 PACKAGE="libnet" |
samuel_trassare@14140 | 4 VERSION="1.1.6" |
slaxemulator@7179 | 5 CATEGORY="network" |
slaxemulator@7179 | 6 SHORT_DESC="A library which provides API for commonly used low-level net functions." |
slaxemulator@7179 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15482 | 8 LICENSE="BSD" |
slaxemulator@7179 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20421 | 10 WEB_SITE="https://sourceforge.net/projects/libnet-dev/" |
slaxemulator@7179 | 11 WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL" |
slaxemulator@7179 | 12 |
slaxemulator@7179 | 13 # Rules to configure and make the package. |
slaxemulator@7179 | 14 compile_rules() |
slaxemulator@7179 | 15 { |
slaxemulator@7179 | 16 ./configure \ |
slaxemulator@7179 | 17 --prefix=/usr \ |
slaxemulator@7179 | 18 --infodir=/usr/share/info \ |
slaxemulator@7179 | 19 --mandir=/usr/share/man \ |
slaxemulator@7179 | 20 $CONFIGURE_ARGS && |
samuel_trassare@14140 | 21 make && make DESTDIR=$DESTDIR install |
slaxemulator@7179 | 22 } |
slaxemulator@7179 | 23 |
slaxemulator@7179 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7179 | 25 genpkg_rules() |
slaxemulator@7179 | 26 { |
slaxemulator@7179 | 27 mkdir -p $fs/usr/lib |
samuel_trassare@14140 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7179 | 29 } |
slaxemulator@7179 | 30 |