]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - libusb-compat/libusb-compat.nm
kernel: update to 4.12.10
[people/arne_f/ipfire-3.x.git] / libusb-compat / libusb-compat.nm
CommitLineData
88258827 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
88258827
MT
4###############################################################################
5
bdaf02e8 6name = libusb-compat
802ea3af 7version = 0.1.12
bdaf02e8
MT
8release = 2
9thisapp = libusb-%{version}
88258827 10
802ea3af
MT
11groups = System/Libraries
12url = http://sourceforge.net/projects/libusb/
13license = LGPLv2+
14summary = A library which allows userspace access to USB devices.
88258827 15
802ea3af 16description
88258827 17 This package provides a way for applications to access USB devices.
802ea3af
MT
18end
19
20source_dl =
21
22build
23 requires
24 gcc-c++
25 pkg-config
26 end
27
28 configure_options += \
bdaf02e8 29 --libdir=/%{lib} \
802ea3af
MT
30 --disable-build-docs \
31 --disable-static
32
33 install_cmds
bdaf02e8
MT
34 mkdir -pv %{BUILDROOT}%{libdir}
35 mv -v %{BUILDROOT}/%{lib}/pkgconfig %{BUILDROOT}%{libdir}
36
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
802ea3af
MT
42 end
43end
44
45packages
bdaf02e8 46 package %{name}
1f9bc2f0 47
bdaf02e8 48 package %{name}-devel
802ea3af
MT
49 template DEVEL
50 end
1f9bc2f0
MT
51
52 package %{name}-debuginfo
53 template DEBUGINFO
54 end
802ea3af 55end