wok-next diff lorcon-old/receipt @ rev 20456

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 03:33:54 2018 +0200 (2018-03-02)
parents 9eb4cd5b5d07
children 5841522533ec
line diff
     1.1 --- a/lorcon-old/receipt	Mon Aug 12 21:48:15 2013 +0000
     1.2 +++ b/lorcon-old/receipt	Fri Mar 02 03:33:54 2018 +0200
     1.3 @@ -1,29 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="lorcon-old"
     1.8  VERSION="224"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Loss Of Radio CONnectivity: A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code."
    1.11 +SHORT_DESC="Loss Of Radio CONnectivity"
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://802.11ninja.net"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/branch/lorcon-old/"
    1.18  
    1.19 -DEPENDS=""
    1.20  BUILD_DEPENDS="subversion"
    1.21 +SPLIT="lorcon-old-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	cd $src
    1.27 +compile_rules() {
    1.28  	touch -d 197001010000 .depend
    1.29  	./configure $CONFIGURE_ARGS && make && make install
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 -	mkdir -p $fs/usr/lib
    1.36 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.37 +genpkg_rules() {
    1.38 +	case $PACKAGE in
    1.39 +		lorcon-old) copy @std;;
    1.40 +		*-dev)      copy @dev;;
    1.41 +	esac
    1.42  }