wok annotate lorcon/receipt @ rev 15117
lorcon: create .depend
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 21:36:18 2013 +0000 (2013-08-14) |
parents | 8d4ecbb30029 |
children | 2a5cc8208d36 |
rev | line source |
---|---|
slaxemulator@7178 | 1 # SliTaz package receipt. |
slaxemulator@7178 | 2 |
slaxemulator@7178 | 3 PACKAGE="lorcon" |
slaxemulator@7178 | 4 VERSION="163" |
slaxemulator@7178 | 5 CATEGORY="network" |
slaxemulator@7178 | 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." |
slaxemulator@7178 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7178 | 8 WEB_SITE="http://802.11ninja.net/lorcon/" |
gokhlayeh@8562 | 9 WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/trunk" |
gokhlayeh@8562 | 10 BRANCH="$VERSION" |
slaxemulator@7178 | 11 |
pascal@15117 | 12 BUILD_DEPENDS="subversion" |
pascal@15117 | 13 |
slaxemulator@7178 | 14 # Rules to configure and make the package. |
slaxemulator@7178 | 15 compile_rules() |
slaxemulator@7178 | 16 { |
slaxemulator@7178 | 17 cd $src |
pascal@15117 | 18 touch -d 197001010000 .depend |
slaxemulator@7178 | 19 ./configure \ |
slaxemulator@7178 | 20 --prefix=/usr \ |
slaxemulator@7178 | 21 --infodir=/usr/share/info \ |
slaxemulator@7178 | 22 --mandir=/usr/share/man \ |
slaxemulator@7178 | 23 $CONFIGURE_ARGS && |
pascal@15117 | 24 make && make DESTDIR=$DESTDIR install |
slaxemulator@7178 | 25 } |
slaxemulator@7178 | 26 |
slaxemulator@7178 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7178 | 28 genpkg_rules() |
slaxemulator@7178 | 29 { |
slaxemulator@7178 | 30 mkdir -p $fs/usr/lib |
pascal@15117 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7178 | 32 } |
slaxemulator@7178 | 33 |