scanmem: misc tweaks.

- gettext is unnecessary as build dependency; base-chroot depends on chroot-gettext
exactly for this reason.
- Rather than removing static libs manually use --disable-static.
This commit is contained in:
Juan RP 2015-04-27 08:15:31 +02:00
parent 5e9d241804
commit 9868b821fe

View file

@ -1,9 +1,9 @@
# Template file for 'scanmem'
pkgname=scanmem
version=0.15
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="libtool intltool m4 automake gettext"
hostmakedepends="libtool intltool m4 automake"
makedepends="readline-devel gettext-devel"
depends="pygtk polkit python-gobject"
short_desc="Memory scanner designed to isolate the address of an arbitrary var"
@ -12,12 +12,8 @@ license="GPL-3"
homepage="https://github.com/scanmem/scanmem"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
checksum=d350b38b68ad7d0cc8f20393a55f03165b6b925e8da3737798f4fa5ccb407c84
configure_args="--enable-gui"
configure_args="--disable-static --enable-gui"
pre_configure() {
./autogen.sh
}
post_install() {
find ${DESTDIR} -type f -name \*.a -delete
NOCONFIGURE=1 ./autogen.sh
}