diff --git a/srcpkgs/libatasmart/libatasmart-devel.template b/srcpkgs/libatasmart/libatasmart-devel.template index 84769d5e107..b10d9c9efac 100644 --- a/srcpkgs/libatasmart/libatasmart-devel.template +++ b/srcpkgs/libatasmart/libatasmart-devel.template @@ -1,17 +1,14 @@ # Template file for 'libatasmart-devel'. # -depends="libudev-devel libatasmart" +depends="libudev-devel libatasmart>=$version" short_desc="${sourcepkg} development files" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." - - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +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 334779a411b..4462bcfd2b2 100644 --- a/srcpkgs/libatasmart/libatasmart.rshlibs +++ b/srcpkgs/libatasmart/libatasmart.rshlibs @@ -1,3 +1,3 @@ libc.so.6 -libudev.so.0 librt.so.1 +libudev.so.1 diff --git a/srcpkgs/libatasmart/template b/srcpkgs/libatasmart/template index 21a1e118e40..582371aa914 100644 --- a/srcpkgs/libatasmart/template +++ b/srcpkgs/libatasmart/template @@ -1,14 +1,13 @@ # Template file for 'libatasmart' pkgname=libatasmart version=0.17 -revision=3 +revision=4 distfiles="http://0pointer.de/public/$pkgname-$version.tar.gz" build_style=gnu-configure -makedepends="pkg-config libudev-devel" +makedepends="pkg-config libudev-devel>=183" +subpackages="$pkgname-devel" short_desc="ATA S.M.A.R.T. Reading and Parsing Library" maintainer="Juan RP " checksum=2d62a11274f32cde2f074adef9ceb662bf205618dfc8f8e74b9be6a8b1ed5ffd long_desc=" ${short_desc}" - -subpackages="$pkgname-devel"