diff --git a/srcpkgs/sg3_utils-devel b/srcpkgs/sg3_utils-devel new file mode 120000 index 0000000000..8f4ca08829 --- /dev/null +++ b/srcpkgs/sg3_utils-devel @@ -0,0 +1 @@ +sg3_utils \ No newline at end of file diff --git a/srcpkgs/sg3_utils/depends b/srcpkgs/sg3_utils/depends new file mode 100644 index 0000000000..759a920557 --- /dev/null +++ b/srcpkgs/sg3_utils/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.28" +api_depends="${abi_depends}" diff --git a/srcpkgs/sg3_utils/sg3_utils-devel.template b/srcpkgs/sg3_utils/sg3_utils-devel.template new file mode 100644 index 0000000000..9abd80946b --- /dev/null +++ b/srcpkgs/sg3_utils/sg3_utils-devel.template @@ -0,0 +1,16 @@ +# Template file for 'sg3_utils-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run sg3_utils + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/sg3_utils/template b/srcpkgs/sg3_utils/template new file mode 100644 index 0000000000..412ea47d18 --- /dev/null +++ b/srcpkgs/sg3_utils/template @@ -0,0 +1,18 @@ +# Template file for 'sg3_utils' +pkgname=sg3_utils +version=1.28 +distfiles="http://sg.danny.cz/sg/p/$pkgname-$version.tgz" +build_style=gnu_configure +short_desc="Generic SCSI utilities" +maintainer="Juan RP " +checksum=da8bd627a6246b709e2a0321fa9d5ca09a33354a1ae40c74cd37efb69b9f8118 +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="$pkgname-devel" +Add_dependency run glibc +Add_dependency build pkg-config diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 38f6b8960c..0e77e283fd 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -589,3 +589,4 @@ libboost_regex.so.1.42 boost boost-devel libboost_wserialization.so.1.42 boost boost-devel libexempi.so exempi exempi-devel libatasmart.so libatasmart libatasmart-devel +libsgutils2.so sg3_utils sg3_utils-devel