From ccf848b4c8f3862ec56d3f8e64f251a71ef1bc02 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 20 Mar 2013 21:41:18 +0100 Subject: [PATCH] parted: cross build and debug support. --- srcpkgs/parted/libparted-devel.template | 9 ++------- srcpkgs/parted/libparted.template | 5 +---- srcpkgs/parted/template | 6 +++--- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/srcpkgs/parted/libparted-devel.template b/srcpkgs/parted/libparted-devel.template index c9e1be29084..b4391297e2f 100644 --- a/srcpkgs/parted/libparted-devel.template +++ b/srcpkgs/parted/libparted-devel.template @@ -1,15 +1,10 @@ # Template file for 'libparted-devel'. # depends="libparted-${version}_${revision}" -short_desc="The GNU Parted disk partitioning library development files" -long_desc="${long_desc} - - This package contains development files for libparted, which - are really only of interest to developers." - -noarch=yes +short_desc="${short_desc} - development files" do_install() { vmove usr/include usr vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/*.a" usr/lib } diff --git a/srcpkgs/parted/libparted.template b/srcpkgs/parted/libparted.template index fdcbad475d4..fa8d098d97f 100644 --- a/srcpkgs/parted/libparted.template +++ b/srcpkgs/parted/libparted.template @@ -1,9 +1,6 @@ # Template file for 'libparted'. # -short_desc="The GNU Parted disk partitioning shared library" -long_desc="${long_desc} - - This package contains libparted, the required shared library used by Parted." +short_desc="${short_desc} - shared library" do_install() { vmove "usr/lib/*.so*" usr/lib diff --git a/srcpkgs/parted/template b/srcpkgs/parted/template index 39481be9afe..2a10dcedd11 100644 --- a/srcpkgs/parted/template +++ b/srcpkgs/parted/template @@ -1,13 +1,13 @@ # Template file for 'parted' pkgname=parted version=3.1 -revision=2 +revision=3 subpackages="libparted libparted-devel" build_style=gnu-configure -configure_args="--without-included-regex --disable-rpath - --disable-debug --disable-static" +configure_args="--without-included-regex --disable-rpath" makedepends="pkg-config libuuid-devel libblkid-devel ncurses-devel readline-devel device-mapper-devel" +crossmakedepends="${makedepends}" short_desc="The GNU Parted disk partition resizing program" homepage="http://www.gnu.org/software/parted/" license="GPL-3"