Install headers in DevInstall rather then install.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13272 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9f3c9e0947
commit
3223d955a4
@ -40,19 +40,12 @@ define Build/Configure
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/libpciaccess/install
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/include/*.h \
|
||||
$(1)/usr/include
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libpciaccess.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libpciaccess.{so*,a,la} \
|
||||
@ -63,4 +56,11 @@ define Build/InstallDev
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
endef
|
||||
|
||||
define Package/libpciaccess/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libpciaccess.so* \
|
||||
$(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libpciaccess))
|
||||
|
Loading…
x
Reference in New Issue
Block a user