85cc462e1d
* Moved helpers, common and triggers dirs into xbps-src, where they belong. * Renamed the templates dir to srcpkgs, it was so redundant before. * Make it possible to add subpkgs with no restriction in names, for example udev now has a subpkgs called "libgudev". Previously subpkgs were named "${sourcepkg}-${pkgname}". * xbps-src: changed to look for template files in current directory. That means that most arguments from the targets have been removed. * xbps-src: added a reinstall target, to remove + install. * xbps-src: do not overwrite binpkgs by default, skip them. And more that I forgot because it's a mega-commit that I've been working for some days already... --HG-- extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
31 lines
787 B
Text
31 lines
787 B
Text
# Template file for 'usbutils'
|
|
pkgname=usbutils
|
|
version=0.86
|
|
revision=2
|
|
distfiles="${SOURCEFORGE_SITE}/linux-usb/$pkgname-$version.tar.gz"
|
|
build_style=gnu_configure
|
|
configure_args="--datadir=/usr/share/hwdata --disable-zlib"
|
|
short_desc="Linux USB utilities"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
checksum=b3b2bea6d2cd87660c8201a47071bf2a9889d8ed90c7203cc768b597799c12f4
|
|
long_desc="
|
|
This package contains utilities for inspecting devices connected to a
|
|
USB bus."
|
|
|
|
Add_dependency full glibc
|
|
Add_dependency full libusb
|
|
Add_dependency full libusb-compat
|
|
Add_dependency build which
|
|
|
|
pre_configure()
|
|
{
|
|
cd $wrksrc
|
|
rm usb.ids
|
|
$XBPS_FETCH_CMD http://www.linux-usb.org/usb.ids
|
|
}
|
|
|
|
post_install()
|
|
{
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
mv ${DESTDIR}/usr/share/hwdata/pkgconfig ${DESTDIR}/usr/lib
|
|
}
|