nut: install development files for libupsclient
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@34829 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
787b5c61cb
commit
f25cbf8117
@ -75,6 +75,14 @@ define Package/nut/install
|
|||||||
ln -sf /var/run/ups.conf $(1)/etc/nut/ups.conf
|
ln -sf /var/run/ups.conf $(1)/etc/nut/ups.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/InstallDev
|
||||||
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/nut/conffiles
|
define Package/nut/conffiles
|
||||||
/etc/nut/nut.conf
|
/etc/nut/nut.conf
|
||||||
endef
|
endef
|
||||||
@ -282,7 +290,8 @@ CONFIGURE_ARGS += \
|
|||||||
--with-group=root \
|
--with-group=root \
|
||||||
--with-usb \
|
--with-usb \
|
||||||
--with-snmp \
|
--with-snmp \
|
||||||
--without-libltdl
|
--without-libltdl \
|
||||||
|
--with-dev
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,nut))
|
$(eval $(call BuildPackage,nut))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user