mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-02 20:54:40 +02:00
package/util-linux: install development files
Also remove trailing whitespaces from the Makefile. Based on a patch by M. Braun. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31701 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
501390d552
commit
d9d36efc73
@ -36,6 +36,30 @@ CONFIGURE_ARGS += \
|
|||||||
--disable-nls \
|
--disable-nls \
|
||||||
--disable-tls
|
--disable-tls
|
||||||
|
|
||||||
|
define Build/InstallDev
|
||||||
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
BUILDCC="$(HOSTCC)" \
|
||||||
|
DESTDIR="$(1)" \
|
||||||
|
installdirs install-data
|
||||||
|
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/libblkid/blkid.pc $(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/libmount/mount.pc $(1)/usr/lib/pkgconfig
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/libuuid/uuid.pc $(1)/usr/lib/pkgconfig
|
||||||
|
|
||||||
|
$(INSTALL_DIR) $(1)/usr/include/blkid
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/libblkid/src/blkid.h $(1)/usr/include/blkid
|
||||||
|
$(INSTALL_DIR) $(1)/usr/include/libmount
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/libmount/src/libmount.h $(1)/usr/include/libmount
|
||||||
|
$(INSTALL_DIR) $(1)/usr/include/uuid
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/libuuid/src/uuid.h $(1)/usr/include/uuid
|
||||||
|
|
||||||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/libblkid/src/.libs/libblkid.{a,so.*} $(1)/usr/lib
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/libmount/src/.libs/libmount.{a,so.*} $(1)/usr/lib
|
||||||
|
$(CP) $(PKG_BUILD_DIR)/libuuid/src/.libs/libuuid.{a,so.*} $(1)/usr/lib
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/libblkid
|
define Package/libblkid
|
||||||
$(call Package/util-linux/Default)
|
$(call Package/util-linux/Default)
|
||||||
TITLE:=block device id library
|
TITLE:=block device id library
|
||||||
|
Loading…
Reference in New Issue
Block a user