diff --git a/srcpkgs/sg3_utils/libsgutils.template b/srcpkgs/sg3_utils/libsgutils.template index a155223587b..690c7806c42 100644 --- a/srcpkgs/sg3_utils/libsgutils.template +++ b/srcpkgs/sg3_utils/libsgutils.template @@ -1,14 +1,8 @@ # Template file for 'libsgutils'. # -short_desc="${sourcepkg} - shared library" -long_desc="${long_desc} - - This package contains the shared library." - +short_desc="${short_desc} --- shared library" replaces="sg3_utils<1.31" -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/lib/lib*.so* ${DESTDIR}/usr/lib +do_install() { + vmove "usr/lib/*.so*" usr/lib } diff --git a/srcpkgs/sg3_utils/sg3_utils-devel.template b/srcpkgs/sg3_utils/sg3_utils-devel.template index ff1ca3aac5f..bef1a14c8b7 100644 --- a/srcpkgs/sg3_utils/sg3_utils-devel.template +++ b/srcpkgs/sg3_utils/sg3_utils-devel.template @@ -1,15 +1,9 @@ # Template file for 'sg3_utils-devel'. # -depends="glibc-devel libsgutils" -short_desc="${sourcepkg} - development files" -long_desc="${long_desc} +depends="libsgutils>=${version}" +short_desc="${short_desc} - development files" +noarch=yes - This package contains files for development, headers, static libs, etc." - - -do_install() -{ - mkdir -p ${DESTDIR}/usr/lib - mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr - mv ${SRCPKGDESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib +do_install() { + vmove usr/include usr } diff --git a/srcpkgs/sg3_utils/template b/srcpkgs/sg3_utils/template index b45fe751532..a94b56490eb 100644 --- a/srcpkgs/sg3_utils/template +++ b/srcpkgs/sg3_utils/template @@ -1,20 +1,14 @@ # Template file for 'sg3_utils' pkgname=sg3_utils -version=1.33 -distfiles="http://sg.danny.cz/sg/p/$pkgname-$version.tgz" -build_style=gnu-configure -makedepends="pkg-config" +version=1.35 revision=1 +subpackages="libsgutils $pkgname-devel" +build_style=gnu-configure +configure_args="--disable-static" +makedepends="pkg-config" short_desc="Generic SCSI utilities" maintainer="Juan RP " homepage="http://sg.danny.cz/sg/sg3_utils.html" license="BSD, GPL-2" -checksum=3034a4e798404cc963fc46437b0ceeb0edc635e02471ab13aa18acd8b716a27b -long_desc=" - This package contains low level utilities for devices that use a SCSI - command set. Apart from SCSI parallel interface (SPI) devices, the SCSI - command set is used by ATAPI devices (CD/DVDs and tapes), USB mass storage - devices, Fibre Channel disks, IEEE 1394 storage devices (that use the - SBP protocol), SAS, iSCSI and FCoE devices (amongst others)" - -subpackages="libsgutils $pkgname-devel" +distfiles="http://sg.danny.cz/sg/p/$pkgname-$version.tgz" +checksum=385e73a3acc961efd50a610db9c737f14ccc98ba8488e54355be1f08417e08af