kopia lustrzana https://github.com/stlink-org/stlink
Generate pkgconfig file from d/rules, upstream doesn't do it
rodzic
f509507971
commit
0052b907a9
|
@ -16,3 +16,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|||
override_dh_auto_configure:
|
||||
dh_auto_configure -- \
|
||||
-DSTLINK_UDEV_RULES_DIR='/lib/udev/rules.d'
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
|
||||
sed -e "s/@VERSION@/$(DEB_VERSION_UPSTREAM)/" -e "s/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/" $(CURDIR)/debian/stlink.pc.in > $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/stlink.pc
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
prefix=/usr
|
||||
includedir=${prefix}/include/stlink
|
||||
libdir=${prefix}/lib/@DEB_HOST_MULTIARCH@
|
||||
|
||||
Name: stlink
|
||||
Description: Open source version of the STMicroelectronics Stlink Tools
|
||||
Version: @VERSION@
|
||||
Requires: libusb-1.0
|
||||
Libs: -L${libdir} -lstlink
|
||||
Cflags: -I${includedir}
|
Ładowanie…
Reference in New Issue