Changeset 9887


Ignore:
Timestamp:
2007-12-24T02:24:48+01:00 (8 years ago)
Author:
nbd
Message:

clean up libgcrypt installation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libgcrypt/Makefile

    r9881 r9887  
    5555 
    5656define Build/InstallDev 
    57         mkdir -p $(2)/bin 
    58         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libgcrypt-config $(2)/bin/ 
    59         mkdir -p $(1)/usr/include 
     57        mkdir -p $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/share/aclocal 
     58        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libgcrypt-config $(1)/usr/bin/ 
    6059        $(CP) $(PKG_INSTALL_DIR)/usr/include/gcrypt*.h $(1)/usr/include/ 
    61         mkdir -p $(1)/usr/lib 
    6260        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.{a,so*} $(1)/usr/lib/ 
    63         mkdir -p $(1)/usr/share/aclocal 
    6461        $(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libgcrypt.m4 $(1)/usr/share/aclocal/ 
    65         $(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(1)/usr/lib,g' $(2)/bin/libgcrypt-config 
    66         $(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(1)/usr/include/,g' $(2)/bin/libgcrypt-config 
     62        $(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(1)/usr/lib,g' $(1)/usr/bin/libgcrypt-config 
     63        $(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(1)/usr/include/,g' $(1)/usr/bin/libgcrypt-config 
     64        ln -sf $(1)/usr/bin/libgcrypt-config $(2)/bin/ 
    6765endef 
    6866 
    6967define Build/UninstallDev 
    7068        rm -rf \ 
     69                $(1)/usr/bin/libgcrypt-config \ 
    7170                $(2)/bin/libgcrypt-config \ 
    7271                $(1)/usr/include/gcrypt*.h \ 
Note: See TracChangeset for help on using the changeset viewer.