From a24338d4a5f436dd7fc01b99aae8af8a56bf9240 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 10 Oct 2012 11:10:20 +0200 Subject: [PATCH] libatasmart: rebuild with as-needed for shlibs. --- srcpkgs/libatasmart/libatasmart-devel.template | 5 +++-- srcpkgs/libatasmart/libatasmart.rshlibs | 1 - srcpkgs/libatasmart/template | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/libatasmart/libatasmart-devel.template b/srcpkgs/libatasmart/libatasmart-devel.template index b10d9c9efac..edde1e3ae8a 100644 --- a/srcpkgs/libatasmart/libatasmart-devel.template +++ b/srcpkgs/libatasmart/libatasmart-devel.template @@ -1,14 +1,15 @@ # Template file for 'libatasmart-devel'. # -depends="libudev-devel libatasmart>=$version" +depends="libudev-devel libatasmart-${version}_${revision}" short_desc="${sourcepkg} development files" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +noarch=yes + do_install() { vmove usr/include usr vmove usr/lib/pkgconfig usr/lib - vmove "usr/lib/*.a" usr/lib vmove usr/share usr } diff --git a/srcpkgs/libatasmart/libatasmart.rshlibs b/srcpkgs/libatasmart/libatasmart.rshlibs index 4462bcfd2b2..0ff1e3b2c93 100644 --- a/srcpkgs/libatasmart/libatasmart.rshlibs +++ b/srcpkgs/libatasmart/libatasmart.rshlibs @@ -1,3 +1,2 @@ libc.so.6 -librt.so.1 libudev.so.1 diff --git a/srcpkgs/libatasmart/template b/srcpkgs/libatasmart/template index 582371aa914..8b2be45de40 100644 --- a/srcpkgs/libatasmart/template +++ b/srcpkgs/libatasmart/template @@ -1,13 +1,14 @@ # Template file for 'libatasmart' pkgname=libatasmart version=0.17 -revision=4 -distfiles="http://0pointer.de/public/$pkgname-$version.tar.gz" +revision=5 build_style=gnu-configure +configure_args="--disable-static" makedepends="pkg-config libudev-devel>=183" subpackages="$pkgname-devel" short_desc="ATA S.M.A.R.T. Reading and Parsing Library" maintainer="Juan RP " +distfiles="http://0pointer.de/public/$pkgname-$version.tar.gz" checksum=2d62a11274f32cde2f074adef9ceb662bf205618dfc8f8e74b9be6a8b1ed5ffd long_desc=" ${short_desc}"