wok view lorcon/receipt @ rev 25574
asterisk: make install-headers inserted
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 13 17:20:22 2023 +0100 (18 months ago) |
parents | 544e47246b33 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lorcon"
4 VERSION="163"
5 CATEGORY="network"
6 SHORT_DESC="A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20100716090508/http://802.11ninja.net/lorcon/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/trunk"
12 BRANCH="$VERSION"
14 BUILD_DEPENDS="subversion"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/kismetwireless/lorcon/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|\.||g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 touch -d 197001010000 .depend
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }