wok view lorcon/receipt @ rev 7733
fcitx:change skin to classic
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Tue Dec 21 02:05:23 2010 +0800 (2010-12-21) |
parents | |
children | 2e4f0e0b20e1 |
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 BUILD_DEPENDS="subversion"
9 WEB_SITE="http://802.11ninja.net/lorcon/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
15 if [ -d $PACKAGE-$VERSION ]; then
16 true
17 elif [ -f $TARBALL ]; then
18 tar xzf $TARBALL
19 else
20 svn checkout -r $VERSION \
21 http://802.11ninja.net/svn/lorcon/trunk $PACKAGE-$VERSION
22 tar czf $TARBALL $PACKAGE-$VERSION
23 fi
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 }