Added libusb-1.0.0 template.

--HG--
extra : convert_revision : 130ec0ff6f9d87ba7d6a9b7bc20ef6fca1f6b926
This commit is contained in:
Juan RP 2009-03-23 06:02:03 +01:00
parent c4c6b2de7f
commit 5194493316
4 changed files with 34 additions and 0 deletions

1
templates/libusb-devel Symbolic link
View File

@ -0,0 +1 @@
libusb

2
templates/libusb/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=1.0.0
api_depends=${abi_depends}

View File

@ -0,0 +1,17 @@
# Template file for 'libusb-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libusb
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

14
templates/libusb/template Normal file
View File

@ -0,0 +1,14 @@
# Template file for 'libusb'
pkgname=libusb
sourcepkg=$pkgname
version=1.0.0
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="A library which allows userspace access to USB devices"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=c9bdc5820bc283dcfefba4d4f632c9083adffe5a06c21e089ee123209d229ecf
long_desc="
This package provides a way for applications to access USB devices."
subpackages="devel"
Add_dependency full glibc