SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lorcon"

# SliTaz package receipt.

PACKAGE="lorcon"
VERSION="163"
CATEGORY="network"
SHORT_DESC="A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://web.archive.org/web/20100716090508/http://802.11ninja.net/lorcon/"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/trunk"
BRANCH="$VERSION"

BUILD_DEPENDS="subversion"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/kismetwireless/lorcon/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|\.||g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    touch -d 197001010000 .depend
    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)