add scanmem ebuild(now with support of GameConqueror GUI)
This commit is contained in:
parent
96878cfadb
commit
15e481a2f8
2
dev-util/scanmem/Manifest
Normal file
2
dev-util/scanmem/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST scanmem-0.12.tar.gz 238629 RMD160 bc048105c0f3907b57d5332c2227dccc8381f5f5 SHA1 19584c593fb5c32e8805e0037774918b5236aa1e SHA256 ffaea579ef7db3dc03e1292660d5813df2efdf479424eeccbbd1b94d32fbe7a3
|
||||
EBUILD scanmem-0.12.ebuild 915 RMD160 87dcbfbf77aa4f0d47d223dd804ccbc3d569aca1 SHA1 635de2c21e272e8375d403b84fdac728a6392f12 SHA256 016c407d1d467e207bb2e230d07b551603e7b1635b095e81c32afddc0d30c7fc
|
39
dev-util/scanmem/scanmem-0.12.ebuild
Normal file
39
dev-util/scanmem/scanmem-0.12.ebuild
Normal file
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Locate and modify variables in executing processes (now with GameConqueror GUI)"
|
||||
HOMEPAGE="http://code.google.com/p/scanmem/"
|
||||
SRC_URI="http://scanmem.googlecode.com/files/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kde gnome"
|
||||
|
||||
DEPEND="sys-libs/readline
|
||||
kde? ( kde-base/kdesu )
|
||||
gnome? ( x11-libs/gksu )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/CFLAGS/d" Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
$(use_enable kde gui)
|
||||
$(use_enable gnome gui)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin scanmem
|
||||
doman scanmem.1
|
||||
dodoc NEWS ChangeLog
|
||||
use kde && sed -i 's/gksu -k --description "GameConqueror"/kdesu -c/' gui/gameconqueror
|
||||
use kde || use gnome && (cd "${S}/gui" && emake DESTDIR="${D}" install)
|
||||
}
|
Loading…
Reference in New Issue
Block a user