1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = libusb-%{version}
11 groups = System/Libraries
12 url = http://sourceforge.net/projects/libusb/
14 summary = A library which allows userspace access to USB devices.
17 This package provides a way for applications to access USB devices.
28 configure_options += \
30 --disable-build-docs \
34 mkdir -pv %{BUILDROOT}%{libdir}
35 mv -v %{BUILDROOT}/%{lib}/pkgconfig %{BUILDROOT}%{libdir}
37 rm -vf %{BUILDROOT}%{libdir}/libusb{,pp}-0.1.so
38 ln -svf ../../%{lib}/libusb-0.1.so.4 %{BUILDROOT}%{libdir}/libusb.so
39 ln -svf ../../%{lib}/libusb-0.1.so.4 %{BUILDROOT}%{libdir}/libusb-0.1.so
40 ln -svf ../../%{lib}/libusbpp-0.1.so.4 %{BUILDROOT}%{libdir}/libusbpp.so
41 ln -svf ../../%{lib}/libusbpp-0.1.so.4 %{BUILDROOT}%{libdir}/libusbpp-0.1.so
52 package %{name}-debuginfo