elfutils: cross build, static and dbg support.

This commit is contained in:
Juan RP 2013-03-28 06:13:31 +01:00
parent 97758d02e3
commit 119ab67220
3 changed files with 2 additions and 15 deletions

View File

@ -1,13 +1,10 @@
# Template file for 'elfutils-devel'. # Template file for 'elfutils-devel'.
# #
noarch=yes
replaces="libelf-devel>=0" replaces="libelf-devel>=0"
depends="libelf-${version}_${revision}" depends="libelf-${version}_${revision}"
short_desc="${short_desc} -- development files" short_desc="${short_desc} -- development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install() { do_install() {
vmove usr/include usr vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
} }

View File

@ -1,9 +1,6 @@
# Template file for 'isl-devel'. # Template file for 'isl-devel'.
# #
short_desc="${short_desc} -- runtime library" short_desc="${short_desc} -- runtime library"
long_desc="${long_desc}
This package contains the runtime shared library."
do_install() { do_install() {
vmove "usr/lib/*.so*" usr/lib vmove "usr/lib/*.so*" usr/lib

View File

@ -1,7 +1,7 @@
# Template file for 'elfutils' # Template file for 'elfutils'
pkgname=elfutils pkgname=elfutils
version=0.155 version=0.155
revision=1 revision=2
subpackages="libelf ${pkgname}-devel" subpackages="libelf ${pkgname}-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="--program-prefix=eu-" configure_args="--program-prefix=eu-"
@ -12,10 +12,3 @@ license="GPL-3"
homepage="https://fedorahosted.org/elfutils/" homepage="https://fedorahosted.org/elfutils/"
distfiles="https://fedorahosted.org/releases/e/l/${pkgname}/${version}/${pkgname}-${version}.tar.bz2" distfiles="https://fedorahosted.org/releases/e/l/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum=68444a4526416ffd68852ec3c6a40ceddcca46538297322405319884c5d30ed8 checksum=68444a4526416ffd68852ec3c6a40ceddcca46538297322405319884c5d30ed8
long_desc="
Sed, the GNU Stream Editor, copies the named files (standard input default)
to the standard output, edited according to a script of commands."
post_install() {
rm -f ${DESTDIR}/usr/lib/*.a
}