Changeset 31701


Ignore:
Timestamp:
2012-05-13T14:20:15+02:00 (6 years ago)
Author:
juhosg
Message:

package/util-linux: install development files

Also remove trailing whitespaces from the Makefile.

Based on a patch by M. Braun.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/util-linux/Makefile

    r31499 r31701  
    3737        --disable-tls 
    3838 
     39define Build/InstallDev 
     40        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     41                BUILDCC="$(HOSTCC)" \ 
     42                DESTDIR="$(1)" \ 
     43                installdirs install-data 
     44 
     45        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig 
     46        $(CP) $(PKG_BUILD_DIR)/libblkid/blkid.pc $(1)/usr/lib/pkgconfig 
     47        $(CP) $(PKG_BUILD_DIR)/libmount/mount.pc $(1)/usr/lib/pkgconfig 
     48        $(CP) $(PKG_BUILD_DIR)/libuuid/uuid.pc $(1)/usr/lib/pkgconfig 
     49 
     50        $(INSTALL_DIR) $(1)/usr/include/blkid 
     51        $(CP) $(PKG_BUILD_DIR)/libblkid/src/blkid.h $(1)/usr/include/blkid 
     52        $(INSTALL_DIR) $(1)/usr/include/libmount 
     53        $(CP) $(PKG_BUILD_DIR)/libmount/src/libmount.h $(1)/usr/include/libmount 
     54        $(INSTALL_DIR) $(1)/usr/include/uuid 
     55        $(CP) $(PKG_BUILD_DIR)/libuuid/src/uuid.h $(1)/usr/include/uuid 
     56 
     57        $(INSTALL_DIR) $(1)/usr/lib 
     58        $(CP) $(PKG_BUILD_DIR)/libblkid/src/.libs/libblkid.{a,so.*} $(1)/usr/lib 
     59        $(CP) $(PKG_BUILD_DIR)/libmount/src/.libs/libmount.{a,so.*} $(1)/usr/lib 
     60        $(CP) $(PKG_BUILD_DIR)/libuuid/src/.libs/libuuid.{a,so.*} $(1)/usr/lib 
     61endef 
     62 
    3963define Package/libblkid 
    4064$(call Package/util-linux/Default) 
     
    91115$(call Package/util-linux/Default) 
    92116  TITLE:=locate/print block device attributes 
    93   DEPENDS:= +libblkid +libuuid  
     117  DEPENDS:= +libblkid +libuuid 
    94118  SUBMENU=disc 
    95119endef 
     
    263287$(call Package/util-linux/Default) 
    264288  TITLE:=inform kernel about the presence and numbering of on-disk partitions 
    265   DEPENDS:= +libblkid +libuuid  
     289  DEPENDS:= +libblkid +libuuid 
    266290  SUBMENU=disc 
    267291endef 
Note: See TracChangeset for help on using the changeset viewer.