Added libusb-compat-0.1.0 template.

--HG--
extra : convert_revision : 61c8960935b512b3aaa88988e8f0d6ee8310584a
This commit is contained in:
Juan RP 2009-03-23 06:02:18 +01:00
parent 5194493316
commit 835b9b5c17
4 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1 @@
libusb-compat

View file

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

View file

@ -0,0 +1,18 @@
# Template file for 'libusb-compat-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libusb-compat
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
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
}

View file

@ -0,0 +1,17 @@
# Template file for 'libusb-compat'
pkgname=libusb-compat
sourcepkg=$pkgname
version=0.1.0
distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="A libusb-0.1 compatibility library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=69ad5d62946885a60368381a3354b8fd19597bc6fc9ee25b4598977771429b8d
long_desc="
$pkgname is a replacement for libusb-0.1. However, instead of being an actual
implementation, libusb-0.1 is more of a compatibility layer (or wrapper) which
just converts libusb-0.1 calls into their libusb-1.0 equivalents."
subpackages="devel"
Add_dependency full glibc
Add_dependency full libusb