mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 11:00:48 +02:00
lorcon: fix python flag, re-add ruby flag
This commit is contained in:
parent
6ca22e7970
commit
afbe958d28
2 changed files with 14 additions and 15 deletions
|
|
@ -1 +1 @@
|
|||
EBUILD lorcon-9999.ebuild 1140 SHA256 96bb5e804a1d6fd49fb55fae8b80a740e9b527f6f6682e2a5a42195f3993ed88 SHA512 17b92c0dd773b6068c3eb1a32c81dc6011482dfe6e1718af4c5ae9621c4794d5245802f667ce849794480dbd1e3e5ecaf291d76ebe91728d76fdc7837a365359 WHIRLPOOL d9fb6a5651f40239233f7e7125e7e22cc19972687b7ef54835e358e55ae51987ad86b5a453eb098547165bfb5243c21cb4d6480d8fed1f930d02af1ebb82c980
|
||||
EBUILD lorcon-9999.ebuild 1145 SHA256 cf068f2ba96dd7c4484823caa22fe3977ff35bee623993275a107e0cc0869b3d SHA512 2684267996cd6d4c0f095e1affb28e612af08e1221c40784a0f7a1125ce0783b20a485ebc5e0061f36f9b1ce3f2923d3d9cf11d061787e58c3a1914a8ac54532 WHIRLPOOL bfe24e7b2a42037efca3deb66a5581547b05a58abc2a89904ed19d22f59207fbb4e7a74cae8bf65076ece9af360edc8bcc16ff816e41db6a265a8d5b07b19a9c
|
||||
|
|
|
|||
|
|
@ -13,13 +13,12 @@ inherit git-2 distutils
|
|||
DESCRIPTION="A generic library for injecting 802.11 frames"
|
||||
HOMEPAGE="http://802.11ninja.net/lorcon"
|
||||
SRC_URI=""
|
||||
#ESVN_REPO_URI="http://802.11ninja.net/svn/lorcon/trunk/"
|
||||
EGIT_REPO_URI="https://code.google.com/p/lorcon/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="+python "
|
||||
IUSE="python ruby"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
RDEPEND="dev-libs/libnl"
|
||||
|
|
@ -38,25 +37,25 @@ src_prepare() {
|
|||
src_compile() {
|
||||
default_src_compile
|
||||
use python && distutils_src_compile
|
||||
#if use ruby; then
|
||||
# cd "${S}"/ruby-lorcon
|
||||
# ruby extconf.rb
|
||||
# emake
|
||||
#fi
|
||||
if use ruby; then
|
||||
cd "${S}"/ruby-lorcon
|
||||
ruby extconf.rb
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
use python && distutils_src_install
|
||||
#if use ruby; then
|
||||
# cd "${S}"/ruby-lorcon
|
||||
# emake DESTDIR="${ED}" install
|
||||
#fi
|
||||
if use ruby; then
|
||||
cd "${S}"/ruby-lorcon
|
||||
emake DESTDIR="${ED}" install
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
:
|
||||
use python && distutils_pkg_postinst
|
||||
}
|
||||
pkg_prerm() {
|
||||
:
|
||||
pkg_postrm() {
|
||||
use python && distutils_pkg_postrm
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue