diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-10-27 18:38:05 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-10-27 18:38:05 +0200 |
commit | 24934e623441310f644e5f72855b0f2bf9f3cd1a (patch) | |
tree | a453939bf58199bc2c3ff27bcf0accf2b221c6c4 /net-wireless/kismet-dect/kismet-dect-9999.ebuild | |
parent | 687f45092b4f4ccf33765cee7427f054bae22344 (diff) |
Incoming! Moving Rogento.git to kogaion-desktop. Finally
Diffstat (limited to 'net-wireless/kismet-dect/kismet-dect-9999.ebuild')
-rw-r--r-- | net-wireless/kismet-dect/kismet-dect-9999.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-wireless/kismet-dect/kismet-dect-9999.ebuild b/net-wireless/kismet-dect/kismet-dect-9999.ebuild new file mode 100644 index 00000000..865ba18d --- /dev/null +++ b/net-wireless/kismet-dect/kismet-dect-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit subversion + +DESCRIPTION="DECT plugin for kismet" +HOMEPAGE="https://dedected.org/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=net-wireless/kismet-2009.11.1-r1 + net-wireless/dedected" + +ESVN_REPO_URI="https://dedected.org/svn/trunk/kismet-dect" + +src_prepare() { + # build with custom CFLAGS + sed -i -e "s/-g/${CFLAGS}/g" server_module/Makefile + sed -i -e "s/-fPIC/${CFLAGS} -fPIC/g" client_module/Makefile +} + +src_compile() { + make KIS_SRC_DIR="/usr/include/kismet/" -C client_module || die "failed to compile client module" + make KIS_SRC_DIR="/usr/include/kismet/" -C server_module || die "failed to compile server module" +} + +src_install() { + make KIS_DEST_DIR="${D}/usr/" -C client_module install || die "failed to install client module" + make KIS_DEST_DIR="${D}/usr/" -C server_module install || die "failed to install server module" +} |