diff --git a/templates/libusb-devel b/templates/libusb-devel new file mode 120000 index 00000000000..c982eacd912 --- /dev/null +++ b/templates/libusb-devel @@ -0,0 +1 @@ +libusb \ No newline at end of file diff --git a/templates/libusb/depends b/templates/libusb/depends new file mode 100644 index 00000000000..9ff7c35b09d --- /dev/null +++ b/templates/libusb/depends @@ -0,0 +1,2 @@ +abi_depends=1.0.0 +api_depends=${abi_depends} diff --git a/templates/libusb/devel.template b/templates/libusb/devel.template new file mode 100644 index 00000000000..cd863bf7aac --- /dev/null +++ b/templates/libusb/devel.template @@ -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 +} diff --git a/templates/libusb/template b/templates/libusb/template new file mode 100644 index 00000000000..e7284f4aac3 --- /dev/null +++ b/templates/libusb/template @@ -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 " +checksum=c9bdc5820bc283dcfefba4d4f632c9083adffe5a06c21e089ee123209d229ecf +long_desc=" + This package provides a way for applications to access USB devices." + +subpackages="devel" +Add_dependency full glibc