2012-05-24 05:49:10 +00:00
|
|
|
# Template file for 'hwids'
|
|
|
|
pkgname=hwids
|
2012-10-29 13:38:05 +00:00
|
|
|
version=20121022
|
2012-06-03 07:08:53 +00:00
|
|
|
revision=1
|
2012-05-24 05:49:10 +00:00
|
|
|
short_desc="Hardware Identification Databases"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
replaces="pciutils<3.1.9_1 usbutils<005_1"
|
2012-08-05 06:11:37 +00:00
|
|
|
homepage="https://github.com/Flameeyes/hwids"
|
2012-05-24 05:49:10 +00:00
|
|
|
license="GPL-2"
|
2012-08-05 06:11:37 +00:00
|
|
|
distfiles="https://github.com/gentoo/${pkgname}/tarball/${pkgname}-${version}"
|
2012-10-29 13:38:05 +00:00
|
|
|
checksum=ba4a78871b74972d6f3813f2b3895ce1275e2a9a01ad83c65c4f9aefdb0e9c35
|
2012-05-24 05:49:10 +00:00
|
|
|
long_desc="
|
|
|
|
The reason to repackage the files together is to make it simpler for applications
|
|
|
|
to require them, without having to bring in either pciutils or usbutils, that
|
|
|
|
might be unnecessary for most installs."
|
|
|
|
|
2012-10-29 13:38:05 +00:00
|
|
|
noextract=yes
|
|
|
|
create_wrksrc=yes
|
|
|
|
|
2012-08-05 06:11:37 +00:00
|
|
|
do_extract() {
|
|
|
|
cd ${wrksrc}
|
|
|
|
tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}
|
|
|
|
mv ${wrksrc}/gentoo*/* ${wrksrc}
|
|
|
|
}
|
|
|
|
|
2012-05-24 05:49:10 +00:00
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/hwdata
|
|
|
|
install -m644 *.ids ${DESTDIR}/usr/share/hwdata
|
|
|
|
}
|
2013-04-12 13:42:53 +00:00
|
|
|
|
|
|
|
hwids_package() {
|
|
|
|
noarch="yes"
|
|
|
|
replaces="pciutils<3.1.9_1 usbutils<005_1"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|