From 03543d1130ebae2848b54c3029e263640f09d0bd Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 18 Dec 2009 11:06:19 +0000 Subject: [PATCH] massive: use $(INSTALL_DIR) instead of 'mkdir -p' in install and InstallDev SVN-Revision: 18816 --- lang/egenix-mx/Makefile | 12 ++++++------ lang/tcl/Makefile | 4 ++-- libs/aalib/Makefile | 4 ++-- libs/argp-standalone/Makefile | 4 ++-- libs/argtable/Makefile | 4 ++-- libs/avahi/Makefile | 6 +++--- libs/bluez-libs/Makefile | 6 +++--- libs/cgilib/Makefile | 4 ++-- libs/clinkc/Makefile | 4 ++-- libs/confuse/Makefile | 4 ++-- libs/cyrus-sasl/Makefile | 6 +++--- libs/db47/Makefile | 4 ++-- libs/expat/Makefile | 4 ++-- libs/faad2/Makefile | 4 ++-- libs/fftw3/Makefile | 4 ++-- libs/file/Makefile | 4 ++-- libs/flac/Makefile | 4 ++-- libs/freetype/Makefile | 8 ++++---- libs/gd/Makefile | 6 +++--- libs/gdbm/Makefile | 4 ++-- libs/gettext/Makefile | 4 ++-- libs/gmp/Makefile | 4 ++-- libs/gnutls/Makefile | 2 +- libs/howl/Makefile | 6 +++--- libs/id3lib/Makefile | 4 ++-- libs/iksemel/Makefile | 6 +++--- libs/jpeg/Makefile | 4 ++-- libs/keynote/Makefile | 4 ++-- libs/libamsel/Makefile | 6 +++--- libs/libao/Makefile | 6 +++--- libs/libatomicops/Makefile | 4 ++-- libs/libcli/Makefile | 4 ++-- libs/libconfig/Makefile | 4 ++-- libs/libcrypto++/Makefile | 4 ++-- libs/libdaemon/Makefile | 6 +++--- libs/libdbi/Makefile | 4 ++-- libs/libdvdread/Makefile | 4 ++-- libs/libelf/Makefile | 6 +++--- libs/libevent/Makefile | 4 ++-- libs/libffi-sable/Makefile | 4 ++-- libs/libgcrypt/Makefile | 2 +- libs/libgphoto2/Makefile | 8 ++++---- libs/libiconv/Makefile | 4 ++-- libs/libid3tag/Makefile | 4 ++-- libs/libidn/Makefile | 4 ++-- libs/libjson-c/Makefile | 6 +++--- libs/libmad/Makefile | 4 ++-- libs/libmcrypt/Makefile | 6 +++--- libs/libmpd/Makefile | 6 +++--- libs/libnet-1.0.x/Makefile | 6 +++--- libs/libnet-1.1.x/Makefile | 6 +++--- libs/libnids/Makefile | 4 ++-- libs/libosip2/Makefile | 6 +++--- libs/libpfm/Makefile | 2 +- libs/libpng/Makefile | 8 ++++---- libs/librsync/Makefile | 4 ++-- libs/libshout/Makefile | 6 +++--- libs/libspe2/Makefile | 4 ++-- libs/libsynce/Makefile | 4 ++-- libs/libtasn1/Makefile | 6 +++--- libs/libupnp/Makefile | 6 +++--- libs/libv4l/Makefile | 6 +++--- libs/libvorbisidec/Makefile | 4 ++-- libs/lzo/Makefile | 4 ++-- libs/matrixssl/Makefile | 4 ++-- libs/neon/Makefile | 8 ++++---- libs/openldap/Makefile | 4 ++-- libs/polarssl/Makefile | 4 ++-- libs/popt/Makefile | 4 ++-- libs/postgresql/Makefile | 6 +++--- libs/pthsem/Makefile | 4 ++-- libs/radiusclient-ng/Makefile | 4 ++-- libs/serdisplib/Makefile | 4 ++-- libs/sqlite2/Makefile | 6 +++--- libs/tcp_wrappers/Makefile | 4 ++-- libs/ustl/Makefile | 4 ++-- libs/xmlrpc-c/Makefile | 10 +++++----- net/apache/Makefile | 10 +++++----- net/asterisk-1.4.x/Makefile | 2 +- net/asterisk-1.6.x/Makefile | 2 +- net/click/Makefile | 2 +- net/crowdcontrol/Makefile | 4 ++-- net/openser/Makefile | 6 +++--- net/wiviz/Makefile | 2 +- sound/flite/Makefile | 4 ++-- utils/bzip2/Makefile | 6 +++--- utils/digitemp/Makefile | 4 ++-- utils/foxboard-utils/Makefile | 2 +- utils/ntfs-3g/Makefile | 4 ++-- utils/rrdtool/Makefile | 4 ++-- utils/sane-backends/Makefile | 4 ++-- utils/sysfsutils/Makefile | 4 ++-- 92 files changed, 218 insertions(+), 218 deletions(-) diff --git a/lang/egenix-mx/Makefile b/lang/egenix-mx/Makefile index 559c6e907..29a4086e1 100644 --- a/lang/egenix-mx/Makefile +++ b/lang/egenix-mx/Makefile @@ -45,35 +45,35 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)$(PYTHON_PKG_DIR)/mx/BeeBase/mxBeeBase + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/mx/BeeBase/mxBeeBase $(CP) \ $(PKG_BUILD_DIR)/mx/BeeBase/mxBeeBase/mxh.h \ $(PKG_BUILD_DIR)/mx/BeeBase/mxBeeBase/btr.h \ $(PKG_BUILD_DIR)/mx/BeeBase/mxBeeBase/mxBeeBase.h \ $(1)$(PYTHON_PKG_DIR)/mx/BeeBase/mxBeeBase/ - mkdir -p $(1)$(PYTHON_PKG_DIR)/mx/DateTime/mxDateTime + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/mx/DateTime/mxDateTime $(CP) \ $(PKG_BUILD_DIR)/mx/DateTime/mxDateTime/mxh.h \ $(PKG_BUILD_DIR)/mx/DateTime/mxDateTime/mxDateTime.h \ $(1)$(PYTHON_PKG_DIR)/mx/DateTime/mxDateTime/ - mkdir -p $(1)$(PYTHON_PKG_DIR)/mx/Proxy/mxProxy + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/mx/Proxy/mxProxy $(CP) \ $(PKG_BUILD_DIR)/mx/Proxy/mxProxy/mxh.h \ $(PKG_BUILD_DIR)/mx/Proxy/mxProxy/mxProxy.h \ $(1)$(PYTHON_PKG_DIR)/mx/Proxy/mxProxy/ - mkdir -p $(1)$(PYTHON_PKG_DIR)/mx/Queue/mxQueue + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/mx/Queue/mxQueue $(CP) \ $(PKG_BUILD_DIR)/mx/Queue/mxQueue/mxh.h \ $(PKG_BUILD_DIR)/mx/Queue/mxQueue/mxQueue.h \ $(1)$(PYTHON_PKG_DIR)/mx/Queue/mxQueue/ - mkdir -p $(1)$(PYTHON_PKG_DIR)/mx/TextTools/mxTextTools + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/mx/TextTools/mxTextTools $(CP) \ $(PKG_BUILD_DIR)/mx/TextTools/mxTextTools/mxh.h \ $(PKG_BUILD_DIR)/mx/TextTools/mxTextTools/mxbmse.h \ $(PKG_BUILD_DIR)/mx/TextTools/mxTextTools/mxte.h \ $(PKG_BUILD_DIR)/mx/TextTools/mxTextTools/mxTextTools.h \ $(1)$(PYTHON_PKG_DIR)/mx/TextTools/mxTextTools/ - mkdir -p $(1)$(PYTHON_PKG_DIR)/mx/Tools/mxTools + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)/mx/Tools/mxTools $(CP) \ $(PKG_BUILD_DIR)/mx/Tools/mxTools/mxh.h \ $(PKG_BUILD_DIR)/mx/Tools/mxTools/mxTools.h \ diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile index 773e9a838..91d676243 100644 --- a/lang/tcl/Makefile +++ b/lang/tcl/Makefile @@ -51,9 +51,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtcl*.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/aalib/Makefile b/libs/aalib/Makefile index 621837e1f..cf8d0d759 100644 --- a/libs/aalib/Makefile +++ b/libs/aalib/Makefile @@ -41,11 +41,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) \ $(PKG_INSTALL_DIR)/usr/include/aalib.h \ $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) \ $(PKG_INSTALL_DIR)/usr/lib/libaa.{a,so*} \ $(1)/usr/lib/ diff --git a/libs/argp-standalone/Makefile b/libs/argp-standalone/Makefile index 922e58eda..f01739357 100644 --- a/libs/argp-standalone/Makefile +++ b/libs/argp-standalone/Makefile @@ -28,10 +28,10 @@ endef # all install define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_BUILD_DIR)/argp.h \ $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/libargp.a \ $(1)/usr/lib/ endef diff --git a/libs/argtable/Makefile b/libs/argtable/Makefile index ac2a19ccf..264a0835f 100644 --- a/libs/argtable/Makefile +++ b/libs/argtable/Makefile @@ -47,9 +47,9 @@ MAKE_FLAGS += \ all install \ define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/argtable2.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libargtable2.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/avahi/Makefile b/libs/avahi/Makefile index 32059cee2..f0a562b00 100644 --- a/libs/avahi/Makefile +++ b/libs/avahi/Makefile @@ -157,11 +157,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/avahi-{common,core} $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-{common,core}.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/avahi-core.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/bluez-libs/Makefile b/libs/bluez-libs/Makefile index 8fbc9f655..8456e85d6 100644 --- a/libs/bluez-libs/Makefile +++ b/libs/bluez-libs/Makefile @@ -37,11 +37,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/bluetooth + $(INSTALL_DIR) $(1)/usr/include/bluetooth $(CP) $(PKG_INSTALL_DIR)/usr/include/bluetooth/*.h $(1)/usr/include/bluetooth - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/bluez.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/cgilib/Makefile b/libs/cgilib/Makefile index 88e091f29..72e202ed8 100644 --- a/libs/cgilib/Makefile +++ b/libs/cgilib/Makefile @@ -40,9 +40,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/cgi.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcgi.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/clinkc/Makefile b/libs/clinkc/Makefile index 5f875a4ac..76de1ba63 100644 --- a/libs/clinkc/Makefile +++ b/libs/clinkc/Makefile @@ -45,9 +45,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/cybergarage $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libclinkc.a $(1)/usr/lib/ endef diff --git a/libs/confuse/Makefile b/libs/confuse/Makefile index 4aa449870..b5e350874 100644 --- a/libs/confuse/Makefile +++ b/libs/confuse/Makefile @@ -54,9 +54,9 @@ MAKE_FLAGS += \ all install \ define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/confuse.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfuse.{a,so*} $(1)/usr/lib/ $(CP) $(PKG_BUILD_DIR)/*.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/cyrus-sasl/Makefile b/libs/cyrus-sasl/Makefile index 93cfb1ba3..fc7fa06b3 100644 --- a/libs/cyrus-sasl/Makefile +++ b/libs/cyrus-sasl/Makefile @@ -81,13 +81,13 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/sasl $(1)/usr/include/ - mkdir -p $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsasl2.{a,so*} $(1)/usr/lib/ ln -sf libsasl2.a $(1)/usr/lib/libsasl.a ln -sf libsasl2.so $(1)/usr/lib/libsasl.so - mkdir -p $(1)/usr/lib/sasl2 + $(INSTALL_DIR) $(1)/usr/lib/sasl2 $(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/lib*.{a,so*} $(1)/usr/lib/sasl2/ endef diff --git a/libs/db47/Makefile b/libs/db47/Makefile index 99c69e449..655ae97f5 100644 --- a/libs/db47/Makefile +++ b/libs/db47/Makefile @@ -85,9 +85,9 @@ define Package/libdb47/install endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/db.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdb*.{a,so} $(1)/usr/lib endef diff --git a/libs/expat/Makefile b/libs/expat/Makefile index a69592008..80b0d26bc 100644 --- a/libs/expat/Makefile +++ b/libs/expat/Makefile @@ -47,9 +47,9 @@ define Host/Install endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/expat{,_external}.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/faad2/Makefile b/libs/faad2/Makefile index 2c94173f2..b4170d6c9 100644 --- a/libs/faad2/Makefile +++ b/libs/faad2/Makefile @@ -78,9 +78,9 @@ MAKE_FLAGS += \ all install \ define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfaad.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/fftw3/Makefile b/libs/fftw3/Makefile index 2caea6603..dab60e783 100644 --- a/libs/fftw3/Makefile +++ b/libs/fftw3/Makefile @@ -53,9 +53,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/fftw3.h $(1)/usr/include - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfftw3*.{a,so,la} $(1)/usr/lib endef diff --git a/libs/file/Makefile b/libs/file/Makefile index 5c06076e6..3423df037 100644 --- a/libs/file/Makefile +++ b/libs/file/Makefile @@ -63,9 +63,9 @@ define Build/Prepare endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/magic.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmagic.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/flac/Makefile b/libs/flac/Makefile index cf4d725a1..596ea6472 100644 --- a/libs/flac/Makefile +++ b/libs/flac/Makefile @@ -37,9 +37,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_BUILD_DIR)/include/FLAC $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.{a,so} $(1)/usr/lib/ endef diff --git a/libs/freetype/Makefile b/libs/freetype/Makefile index e9046a310..70fb6fdef 100644 --- a/libs/freetype/Makefile +++ b/libs/freetype/Makefile @@ -46,14 +46,14 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(2)/bin + $(INSTALL_DIR) $(2)/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/freetype-config $(2)/bin/ - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/freetype2 $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/ft2build.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreetype.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/freetype2.pc $(1)/usr/lib/pkgconfig/ $(SED) 's,-I$$$$includedir/freetype2,-I$(STAGING_DIR)/usr/include/freetype2,g' $(2)/bin/freetype-config $(SED) 's,/usr/include/freetype2/,$(STAGING_DIR)/usr/include/freetype2/,g' $(2)/bin/freetype-config diff --git a/libs/gd/Makefile b/libs/gd/Makefile index 175a3c71b..2ba3d2922 100644 --- a/libs/gd/Makefile +++ b/libs/gd/Makefile @@ -60,13 +60,13 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdlib-config $(1)/usr/bin/ - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/entities.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/gd{,_io,cache,fontg,fontl,fontmb,fonts,fontt,fx}.h \ $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgd.{a,so*} $(1)/usr/lib/ $(SED) 's,-I$$$${prefix}/include,,g' $(1)/usr/bin/gdlib-config endef diff --git a/libs/gdbm/Makefile b/libs/gdbm/Makefile index 3c6ab588e..751f22a28 100644 --- a/libs/gdbm/Makefile +++ b/libs/gdbm/Makefile @@ -41,9 +41,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/gdbm.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgdbm.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/gettext/Makefile b/libs/gettext/Makefile index 1e4e39bba..ab620d7d6 100644 --- a/libs/gettext/Makefile +++ b/libs/gettext/Makefile @@ -50,9 +50,9 @@ define Build/Install endef define Build/InstallDev - mkdir -p $(1)/usr/lib/libintl/include + $(INSTALL_DIR) $(1)/usr/lib/libintl/include $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/include/libintl.h $(1)/usr/lib/libintl/include/ - mkdir -p $(1)/usr/lib/libintl/lib + $(INSTALL_DIR) $(1)/usr/lib/libintl/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libintl.{a,so*} $(1)/usr/lib/libintl/lib/ endef diff --git a/libs/gmp/Makefile b/libs/gmp/Makefile index ec292a174..1f8e78a65 100644 --- a/libs/gmp/Makefile +++ b/libs/gmp/Makefile @@ -44,9 +44,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/gmp* $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgmp.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/gnutls/Makefile b/libs/gnutls/Makefile index 689d0a037..e2c0af9ec 100644 --- a/libs/gnutls/Makefile +++ b/libs/gnutls/Makefile @@ -129,7 +129,7 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/include/gnutls $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnutls{,-extra,-openssl}.{a,so*} $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/gnutls{,-extra}.pc $(1)/usr/lib/pkgconfig/ diff --git a/libs/howl/Makefile b/libs/howl/Makefile index b241efbc2..5dc6cbc9c 100644 --- a/libs/howl/Makefile +++ b/libs/howl/Makefile @@ -98,11 +98,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/howl $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{howl,mDNSResponder}.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/howl.pc $(1)/usr/lib/pkgconfig/ $(SED) 's,-I/usr/include,-I$$$${includedir},g' $(1)/usr/lib/pkgconfig/howl.pc $(SED) 's,-L/usr/lib/howl,-L$$$${libdir}/howl,g' $(1)/usr/lib/pkgconfig/howl.pc diff --git a/libs/id3lib/Makefile b/libs/id3lib/Makefile index 5c21fadeb..04d2aae27 100644 --- a/libs/id3lib/Makefile +++ b/libs/id3lib/Makefile @@ -42,10 +42,10 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/id3 $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/id3.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3.{a,so} $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3-*.so.* $(1)/usr/lib/ endef diff --git a/libs/iksemel/Makefile b/libs/iksemel/Makefile index 08dc7cb66..725e40465 100644 --- a/libs/iksemel/Makefile +++ b/libs/iksemel/Makefile @@ -49,11 +49,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/iksemel.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiksemel.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/iksemel.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/jpeg/Makefile b/libs/jpeg/Makefile index 547a90966..c741118df 100644 --- a/libs/jpeg/Makefile +++ b/libs/jpeg/Makefile @@ -72,11 +72,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/jpeglib.h $(1)/usr/include/ $(CP) $(PKG_BUILD_DIR)/jpegint.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/j{config,error,morecfg}.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjpeg.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/keynote/Makefile b/libs/keynote/Makefile index 4459fed2d..7cac89148 100644 --- a/libs/keynote/Makefile +++ b/libs/keynote/Makefile @@ -40,9 +40,9 @@ MAKE_FLAGS += \ CFLAGS="$(TARGET_CFLAGS)" define Build/InstallDev - mkdir -p $(1)/usr/include/keynote + $(INSTALL_DIR) $(1)/usr/include/keynote $(CP) $(PKG_BUILD_DIR)/{assertion,header,keynote,signature}.h $(1)/usr/include/keynote/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/libkeynote.a $(1)/usr/lib/ endef diff --git a/libs/libamsel/Makefile b/libs/libamsel/Makefile index a982d0306..5f5af9cfd 100644 --- a/libs/libamsel/Makefile +++ b/libs/libamsel/Makefile @@ -40,11 +40,11 @@ MAKE_FLAGS += \ all install define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/amsel/compat.h $(1)/usr/include/ - mkdir -p $(1)/usr/include/compat + $(INSTALL_DIR) $(1)/usr/include/compat $(CP) $(PKG_INSTALL_DIR)/usr/include/amsel/compat/queue.h $(1)/usr/include/compat/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libamsel.so $(1)/usr/lib/ endef diff --git a/libs/libao/Makefile b/libs/libao/Makefile index 27fdb33b6..a448e2551 100644 --- a/libs/libao/Makefile +++ b/libs/libao/Makefile @@ -47,11 +47,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/ao $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libao.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ao.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/libatomicops/Makefile b/libs/libatomicops/Makefile index 10aceb9c7..a0d3ca377 100644 --- a/libs/libatomicops/Makefile +++ b/libs/libatomicops/Makefile @@ -51,10 +51,10 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ $(CP) $(PKG_BUILD_DIR)/src/atomic_ops $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libatomic_ops*.a $(1)/usr/lib/ endef diff --git a/libs/libcli/Makefile b/libs/libcli/Makefile index bd354b65e..5eb3850ba 100644 --- a/libs/libcli/Makefile +++ b/libs/libcli/Makefile @@ -42,9 +42,9 @@ MAKE_FLAGS += \ all install define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libcli.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcli.so* $(1)/usr/lib/ endef diff --git a/libs/libconfig/Makefile b/libs/libconfig/Makefile index f60ce08c0..ba97cbbef 100644 --- a/libs/libconfig/Makefile +++ b/libs/libconfig/Makefile @@ -47,9 +47,9 @@ MAKE_FLAGS += \ all install define Build/InstallDev - mkdir -p $(1)/usr/include/libconfig/ + $(INSTALL_DIR) $(1)/usr/include/libconfig/ $(CP) $(PKG_INSTALL_DIR)/usr/include/libconfig.h $(1)/usr/include/libconfig/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.{a,so} $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.so* $(1)/usr/lib/ endef diff --git a/libs/libcrypto++/Makefile b/libs/libcrypto++/Makefile index 5ae478540..d98764d55 100644 --- a/libs/libcrypto++/Makefile +++ b/libs/libcrypto++/Makefile @@ -49,9 +49,9 @@ endef define Build/InstallDev - mkdir -p $(1)/usr/include/crypto++ + $(INSTALL_DIR) $(1)/usr/include/crypto++ $(CP) $(PKG_INSTALL_DIR)/usr/include/crypto--/* $(1)/usr/include/crypto++/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcrypto++.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/libdaemon/Makefile b/libs/libdaemon/Makefile index eef434828..b72449dcc 100644 --- a/libs/libdaemon/Makefile +++ b/libs/libdaemon/Makefile @@ -54,12 +54,12 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libdaemon $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdaemon.a $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdaemon.so* $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libdaemon.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/libdbi/Makefile b/libs/libdbi/Makefile index f37b5a2c8..f0d2ebf69 100644 --- a/libs/libdbi/Makefile +++ b/libs/libdbi/Makefile @@ -38,9 +38,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/dbi $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdbi.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/libdvdread/Makefile b/libs/libdvdread/Makefile index c251ba9ea..66a52243e 100644 --- a/libs/libdvdread/Makefile +++ b/libs/libdvdread/Makefile @@ -47,10 +47,10 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/dvdread + $(INSTALL_DIR) $(1)/usr/include/dvdread $(CP) $(PKG_INSTALL_DIR)/usr/include/dvdread/*.h \ $(1)/usr/include/dvdread - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdvdread.{a,so*} \ $(1)/usr/lib/ endef diff --git a/libs/libelf/Makefile b/libs/libelf/Makefile index 7b15bf4c2..f7d555557 100644 --- a/libs/libelf/Makefile +++ b/libs/libelf/Makefile @@ -45,11 +45,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libelf* $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libelf.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libelf.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/libevent/Makefile b/libs/libevent/Makefile index 21b8061db..4f16d9c12 100644 --- a/libs/libevent/Makefile +++ b/libs/libevent/Makefile @@ -51,9 +51,9 @@ MAKE_FLAGS += \ all install define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent.{la,a,so} $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent-1.4.so* $(1)/usr/lib/ endef diff --git a/libs/libffi-sable/Makefile b/libs/libffi-sable/Makefile index 7006aaa05..88c2c81ca 100644 --- a/libs/libffi-sable/Makefile +++ b/libs/libffi-sable/Makefile @@ -49,9 +49,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/ffi{,target}.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libffi.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/libgcrypt/Makefile b/libs/libgcrypt/Makefile index 72ae565f3..b6719e7cf 100644 --- a/libs/libgcrypt/Makefile +++ b/libs/libgcrypt/Makefile @@ -56,7 +56,7 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/share/aclocal + $(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/share/aclocal $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libgcrypt-config $(1)/usr/bin/ $(CP) $(PKG_INSTALL_DIR)/usr/include/gcrypt*.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.{la,a,so*} $(1)/usr/lib/ diff --git a/libs/libgphoto2/Makefile b/libs/libgphoto2/Makefile index f5a469620..e3d163d54 100644 --- a/libs/libgphoto2/Makefile +++ b/libs/libgphoto2/Makefile @@ -66,13 +66,13 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gphoto2{,-port}-config $(1)/usr/bin/ - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/gphoto2 $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgphoto2{,_port}.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgphoto2.pc $(1)/usr/lib/pkgconfig/ $(SED) 's,-I$$$${prefix}/include/gphoto2,,g' $(1)/usr/bin/gphoto2{,-port}-config $(SED) 's,-I$$$${prefix}/include,,g' $(1)/usr/bin/gphoto2{,-port}-config diff --git a/libs/libiconv/Makefile b/libs/libiconv/Makefile index 238cdb643..459eebb96 100644 --- a/libs/libiconv/Makefile +++ b/libs/libiconv/Makefile @@ -62,9 +62,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/lib/libiconv/include + $(INSTALL_DIR) $(1)/usr/lib/libiconv/include $(CP) $(PKG_INSTALL_DIR)/usr/include/iconv.h $(1)/usr/lib/libiconv/include/ - mkdir -p $(1)/usr/lib/libiconv/lib + $(INSTALL_DIR) $(1)/usr/lib/libiconv/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcharset.{a,so*} $(1)/usr/lib/libiconv/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.{a,so*} $(1)/usr/lib/libiconv/lib/ endef diff --git a/libs/libid3tag/Makefile b/libs/libid3tag/Makefile index e15313144..ba1ad20ad 100644 --- a/libs/libid3tag/Makefile +++ b/libs/libid3tag/Makefile @@ -48,9 +48,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/id3tag.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3tag.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/libidn/Makefile b/libs/libidn/Makefile index f43dbb870..0a07441eb 100644 --- a/libs/libidn/Makefile +++ b/libs/libidn/Makefile @@ -44,9 +44,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libidn.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/libjson-c/Makefile b/libs/libjson-c/Makefile index ad59441ce..2e8b96deb 100644 --- a/libs/libjson-c/Makefile +++ b/libs/libjson-c/Makefile @@ -37,11 +37,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/json $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjson.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/libmad/Makefile b/libs/libmad/Makefile index 8a6c9c3ef..d38a5d301 100644 --- a/libs/libmad/Makefile +++ b/libs/libmad/Makefile @@ -58,9 +58,9 @@ MAKE_FLAGS += \ all install define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/mad.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmad.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/libmcrypt/Makefile b/libs/libmcrypt/Makefile index 09d686c13..1856b2294 100644 --- a/libs/libmcrypt/Makefile +++ b/libs/libmcrypt/Makefile @@ -45,11 +45,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmcrypt.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libmcrypt-config $(1)/usr/bin/ $(SED) 's,-I$$$${prefix}/include,,g' $(1)/usr/bin/libmcrypt-config $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/libmcrypt-config diff --git a/libs/libmpd/Makefile b/libs/libmpd/Makefile index 51864e752..147412f85 100644 --- a/libs/libmpd/Makefile +++ b/libs/libmpd/Makefile @@ -37,11 +37,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libmpd-1.0 $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmpd.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libmpd.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/libnet-1.0.x/Makefile b/libs/libnet-1.0.x/Makefile index a31466c7c..f8b29e88f 100644 --- a/libs/libnet-1.0.x/Makefile +++ b/libs/libnet-1.0.x/Makefile @@ -64,11 +64,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/lib/libnet-1.0.x/bin/ + $(INSTALL_DIR) $(1)/usr/lib/libnet-1.0.x/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libnet-config $(1)/usr/lib/libnet-1.0.x/bin/ - mkdir -p $(1)/usr/lib/libnet-1.0.x/include + $(INSTALL_DIR) $(1)/usr/lib/libnet-1.0.x/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libnet* $(1)/usr/lib/libnet-1.0.x/include/ - mkdir -p $(1)/usr/lib/libnet-1.0.x/lib + $(INSTALL_DIR) $(1)/usr/lib/libnet-1.0.x/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnet.{a,so*} $(1)/usr/lib/libnet-1.0.x/lib/ endef diff --git a/libs/libnet-1.1.x/Makefile b/libs/libnet-1.1.x/Makefile index b4121d3b4..284caf0ca 100644 --- a/libs/libnet-1.1.x/Makefile +++ b/libs/libnet-1.1.x/Makefile @@ -64,11 +64,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/lib/libnet-1.1.x/bin + $(INSTALL_DIR) $(1)/usr/lib/libnet-1.1.x/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libnet-config $(1)/usr/lib/libnet-1.1.x/bin/ - mkdir -p $(1)/usr/lib/libnet-1.1.x/include + $(INSTALL_DIR) $(1)/usr/lib/libnet-1.1.x/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libnet* $(1)/usr/lib/libnet-1.1.x/include/ - mkdir -p $(1)/usr/lib/libnet-1.1.x/lib + $(INSTALL_DIR) $(1)/usr/lib/libnet-1.1.x/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnet.{a,so*} $(1)/usr/lib/libnet-1.1.x/lib/ endef diff --git a/libs/libnids/Makefile b/libs/libnids/Makefile index 13f8eabda..21c0de1e5 100644 --- a/libs/libnids/Makefile +++ b/libs/libnids/Makefile @@ -52,9 +52,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/nids.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnids.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/libosip2/Makefile b/libs/libosip2/Makefile index 60935144b..6cd35d37a 100644 --- a/libs/libosip2/Makefile +++ b/libs/libosip2/Makefile @@ -47,11 +47,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/osip{,parser}2 $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libosip{,parser}2.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libosip2.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/libpfm/Makefile b/libs/libpfm/Makefile index 18abfbc6f..cf1607b94 100644 --- a/libs/libpfm/Makefile +++ b/libs/libpfm/Makefile @@ -49,7 +49,7 @@ define Build/InstallDev # CONFIG_PFMLIB_CELL=y \ # CONFIG_PFMLIB_SHARED=y \ # install - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/lib/libpfm* $(1)/usr/lib/ endef diff --git a/libs/libpng/Makefile b/libs/libpng/Makefile index d5a779000..de1949794 100644 --- a/libs/libpng/Makefile +++ b/libs/libpng/Makefile @@ -49,14 +49,14 @@ define Host/Install endef define Build/InstallDev - mkdir -p $(2)/bin + $(INSTALL_DIR) $(2)/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libpng{,12}-config $(2)/bin/ - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/png{,conf}.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/libpng12 $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpng{,12}.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libpng{,12}.pc $(1)/usr/lib/pkgconfig/ $(SED) 's,^[ILR]_opts=".\+",,g' $(2)/bin/libpng*-config endef diff --git a/libs/librsync/Makefile b/libs/librsync/Makefile index 62b886bbb..677d24904 100644 --- a/libs/librsync/Makefile +++ b/libs/librsync/Makefile @@ -47,9 +47,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/librsync{,-config}.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/librsync.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/libshout/Makefile b/libs/libshout/Makefile index 142f2d96a..d2a490f63 100644 --- a/libs/libshout/Makefile +++ b/libs/libshout/Makefile @@ -53,11 +53,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/shout + $(INSTALL_DIR) $(1)/usr/include/shout $(CP) $(PKG_INSTALL_DIR)/usr/include/shout/shout.h $(1)/usr/include/shout - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libshout.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/shout.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/libspe2/Makefile b/libs/libspe2/Makefile index 2f124f3c6..2fc4aa421 100644 --- a/libs/libspe2/Makefile +++ b/libs/libspe2/Makefile @@ -32,9 +32,9 @@ endef define Build/InstallDev echo "Build/InstallDev" - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libspe2* $(1)/usr/lib/ endef diff --git a/libs/libsynce/Makefile b/libs/libsynce/Makefile index c62fa1c28..a11a283e2 100644 --- a/libs/libsynce/Makefile +++ b/libs/libsynce/Makefile @@ -48,9 +48,9 @@ CONFIGURE_VARS+= \ LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libintl/lib" \ define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsynce.so* $(1)/usr/lib/ endef diff --git a/libs/libtasn1/Makefile b/libs/libtasn1/Makefile index 8677a215c..3eccbdf58 100644 --- a/libs/libtasn1/Makefile +++ b/libs/libtasn1/Makefile @@ -46,11 +46,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libtasn1-config $(1)/usr/bin/ - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libtasn1.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtasn1.{a,so*} $(1)/usr/lib/ $(SED) 's,-I$$$${prefix}/include,,g' $(1)/usr/bin/libtasn1-config $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/libtasn1-config diff --git a/libs/libupnp/Makefile b/libs/libupnp/Makefile index 0db98a5a3..d87fa682f 100644 --- a/libs/libupnp/Makefile +++ b/libs/libupnp/Makefile @@ -74,11 +74,11 @@ define Build/Compile/libupnp-sample endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/upnp $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ixml,threadutil,upnp}.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libupnp.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/libv4l/Makefile b/libs/libv4l/Makefile index b54c3cd35..70ab9d5ff 100644 --- a/libs/libv4l/Makefile +++ b/libs/libv4l/Makefile @@ -56,11 +56,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libv4l{1,2,convert}.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libv4l{1,2,convert}.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libv4l{1,2,convert}.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/libvorbisidec/Makefile b/libs/libvorbisidec/Makefile index a22746da8..bde351195 100644 --- a/libs/libvorbisidec/Makefile +++ b/libs/libvorbisidec/Makefile @@ -50,9 +50,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/tremor $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/lzo/Makefile b/libs/lzo/Makefile index 6904d81d1..7d733cb94 100644 --- a/libs/lzo/Makefile +++ b/libs/lzo/Makefile @@ -47,9 +47,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/lzo $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblzo2.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/matrixssl/Makefile b/libs/matrixssl/Makefile index 39139fc64..d6f7c2e7d 100644 --- a/libs/matrixssl/Makefile +++ b/libs/matrixssl/Makefile @@ -40,10 +40,10 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/matrixSsl + $(INSTALL_DIR) $(1)/usr/include/matrixSsl $(CP) $(PKG_BUILD_DIR)/matrixSsl.h $(1)/usr/include/matrixSsl/ ln -sf matrixSsl/matrixSsl.h $(1)/usr/include/matrixSsl.h - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/src/libmatrixssl.so* $(1)/usr/lib/ endef diff --git a/libs/neon/Makefile b/libs/neon/Makefile index 8090501fc..986de3cea 100644 --- a/libs/neon/Makefile +++ b/libs/neon/Makefile @@ -46,13 +46,13 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/neon-config $(1)/usr/bin/ - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/neon $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libneon.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/neon.pc $(1)/usr/lib/pkgconfig/ $(SED) 's,-I$$$${includedir}/,-I$(1)/usr/include/,g' $(1)/usr/bin/neon-config $(SED) 's,-L$$$${libdir},,g' $(1)/usr/bin/neon-config diff --git a/libs/openldap/Makefile b/libs/openldap/Makefile index dcf3f654f..766de5ca7 100644 --- a/libs/openldap/Makefile +++ b/libs/openldap/Makefile @@ -101,9 +101,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/{lber,ldap}*.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{lber,ldap}*.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/polarssl/Makefile b/libs/polarssl/Makefile index a23095fc2..a00a0b582 100644 --- a/libs/polarssl/Makefile +++ b/libs/polarssl/Makefile @@ -59,9 +59,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/polarssl $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpolarssl.{a,so} $(1)/usr/lib/ endef diff --git a/libs/popt/Makefile b/libs/popt/Makefile index 2647e24b8..4f22390ef 100644 --- a/libs/popt/Makefile +++ b/libs/popt/Makefile @@ -40,9 +40,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/popt.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index aa7d800e8..618b0d0d6 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -260,15 +260,15 @@ fi endef define Build/InstallDev - mkdir -p $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bin/pg_config/pg_config.host $(1)/usr/bin/pg_config - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libpq $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/libpq-fe.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/pg_config.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/postgres_ext.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/postgresql $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpq.{a,so*} $(1)/usr/lib/ $(CP) $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg.host $(1)/usr/bin/ecpg $(CP) $(PKG_BUILD_DIR)/src/timezone/zic.host $(1)/usr/bin/zic diff --git a/libs/pthsem/Makefile b/libs/pthsem/Makefile index a8e79f59e..2d61387b9 100644 --- a/libs/pthsem/Makefile +++ b/libs/pthsem/Makefile @@ -39,10 +39,10 @@ define Build/InstallDev 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \ $(2)/bin/pthsem-config - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h \ $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpthsem.{a,la,so*} \ $(1)/usr/lib/ endef diff --git a/libs/radiusclient-ng/Makefile b/libs/radiusclient-ng/Makefile index ca95bf975..c0d5b6efe 100644 --- a/libs/radiusclient-ng/Makefile +++ b/libs/radiusclient-ng/Makefile @@ -72,9 +72,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/radiusclient-ng.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libradiusclient-ng.{a,so}* $(1)/usr/lib/ endef diff --git a/libs/serdisplib/Makefile b/libs/serdisplib/Makefile index 96cb4f744..bcd693ad6 100644 --- a/libs/serdisplib/Makefile +++ b/libs/serdisplib/Makefile @@ -43,9 +43,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_BUILD_DIR)/include/serdisplib $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/lib/libserdisp.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/sqlite2/Makefile b/libs/sqlite2/Makefile index 037632ae0..defce4347 100644 --- a/libs/sqlite2/Makefile +++ b/libs/sqlite2/Makefile @@ -83,11 +83,11 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/sqlite.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsqlite.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/lib/pkgconfig + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/sqlite.pc $(1)/usr/lib/pkgconfig/ endef diff --git a/libs/tcp_wrappers/Makefile b/libs/tcp_wrappers/Makefile index 3be044eb6..ed46f0071 100644 --- a/libs/tcp_wrappers/Makefile +++ b/libs/tcp_wrappers/Makefile @@ -46,9 +46,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_BUILD_DIR)/tcpd.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/libwrap.a $(1)/usr/lib/ $(CP) $(PKG_BUILD_DIR)/shared/libwrap.so* $(1)/usr/lib/ endef diff --git a/libs/ustl/Makefile b/libs/ustl/Makefile index a4573ab99..6be909bd1 100644 --- a/libs/ustl/Makefile +++ b/libs/ustl/Makefile @@ -56,9 +56,9 @@ define Package/ustl/install endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/ustl* $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libustl.{a,so*} $(1)/usr/lib/ endef diff --git a/libs/xmlrpc-c/Makefile b/libs/xmlrpc-c/Makefile index 733d8bd90..750bdc42a 100644 --- a/libs/xmlrpc-c/Makefile +++ b/libs/xmlrpc-c/Makefile @@ -51,17 +51,17 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/ - mkdir -p $(1)/usr/include/xmlrpc-c + $(INSTALL_DIR) $(1)/usr/include/xmlrpc-c $(CP) $(PKG_INSTALL_DIR)/usr/include/xmlrpc-c/*.h $(1)/usr/include/xmlrpc-c - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxmlrpc*.{a,so*} $(1)/usr/lib/ - mkdir -p $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/xmlrpc-c-config $(1)/usr/bin/ $(SED) 's,HEADERINST_DIR="/usr/include",HEADERINST_DIR="$(STAGING_DIR)/usr/include",g' $(1)/usr/bin/xmlrpc-c-config $(SED) 's,LIBINST_DIR="/usr/lib",LIBINST_DIR="$(STAGING_DIR)/usr/lib",g' $(1)/usr/bin/xmlrpc-c-config - mkdir -p $(2)/bin + $(INSTALL_DIR) $(2)/bin ln -sf $(STAGING_DIR)/usr/bin/xmlrpc-c-config $(2)/bin/ endef diff --git a/net/apache/Makefile b/net/apache/Makefile index 6ee88d4c1..543db246e 100644 --- a/net/apache/Makefile +++ b/net/apache/Makefile @@ -113,19 +113,19 @@ define Build/InstallDev rm -rf $(PKG_INSTALL_DIR)/usr/man/ \ $(PKG_INSTALL_DIR)/usr/share/manual/ # if you need docs take a look into the build-dir :) - mkdir -p $(1)/etc + $(INSTALL_DIR) $(1)/etc $(CP) $(PKG_INSTALL_DIR)/etc/* \ $(1)/etc - mkdir -p $(1)/usr/include/apache + $(INSTALL_DIR) $(1)/usr/include/apache $(CP) $(PKG_INSTALL_DIR)/usr/include/* \ $(1)/usr/include/apache - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/httpd.exp \ $(1)/usr/lib - mkdir -p $(1)/usr/sbin + $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_INSTALL_DIR)/usr/sbin/* \ $(1)/usr/sbin - mkdir -p $(1)/usr/share + $(INSTALL_DIR) $(1)/usr/share $(CP) $(PKG_INSTALL_DIR)/usr/share/* \ $(1)/usr/share endef diff --git a/net/asterisk-1.4.x/Makefile b/net/asterisk-1.4.x/Makefile index 89c50c56d..e2a60be07 100644 --- a/net/asterisk-1.4.x/Makefile +++ b/net/asterisk-1.4.x/Makefile @@ -483,7 +483,7 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/asterisk/ + $(INSTALL_DIR) $(1)/usr/include/asterisk/ $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk/ $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/ endef diff --git a/net/asterisk-1.6.x/Makefile b/net/asterisk-1.6.x/Makefile index 719840e2b..4de7cc581 100644 --- a/net/asterisk-1.6.x/Makefile +++ b/net/asterisk-1.6.x/Makefile @@ -238,7 +238,7 @@ define Build/Compile endef #define Build/InstallDev -# mkdir -p $(1)/usr/include/asterisk/ +# $(INSTALL_DIR) $(1)/usr/include/asterisk/ # $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk/ # $(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/ #endef diff --git a/net/click/Makefile b/net/click/Makefile index 4390ee937..e380e84f1 100644 --- a/net/click/Makefile +++ b/net/click/Makefile @@ -102,7 +102,7 @@ define Package/roofnet/install $(CP) $(PKG_BUILD_DIR)/conf/wifi/srcr.click $(1)/usr/bin $(CP) $(PKG_BUILD_DIR)/conf/wifi/read_handler $(1)/usr/bin $(CP) $(PKG_BUILD_DIR)/conf/wifi/write_handler $(1)/usr/bin - mkdir -p $(1)/etc/init.d + $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/roofnet.init $(1)/etc/init.d/roofnet endef diff --git a/net/crowdcontrol/Makefile b/net/crowdcontrol/Makefile index 0c0a0a25d..910f29960 100644 --- a/net/crowdcontrol/Makefile +++ b/net/crowdcontrol/Makefile @@ -38,8 +38,8 @@ define Build/Compile endef define Package/crowdcontrol/install - mkdir -p $(1)/usr/sbin - mkdir -p $(1)/etc/crowdcontrol + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_DIR) $(1)/etc/crowdcontrol $(CP) $(PKG_BUILD_DIR)/crowdcontrol $(1)/usr/sbin $(CP) $(PKG_BUILD_DIR)/*-{domains,expressions,urls} $(1)/etc/crowdcontrol/ endef diff --git a/net/openser/Makefile b/net/openser/Makefile index 0b6e518ed..81a379dad 100644 --- a/net/openser/Makefile +++ b/net/openser/Makefile @@ -253,18 +253,18 @@ define Build/Compile endef define Package/openser/install - mkdir -p $(1)/usr/sbin + $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/ $(CP) $(PKG_BUILD_DIR)/utils/gen_ha1/gen_ha1 $(1)/usr/sbin/openser_gen_ha1 $(CP) $(PKG_BUILD_DIR)/scripts/sc $(1)/usr/sbin/openserctl chmod 744 $(1)/usr/sbin/openserctl $(CP) $(PKG_BUILD_DIR)/scripts/sc.dbtext $(1)/usr/sbin/dbtextctl chmod 744 $(1)/usr/sbin/dbtextctl - mkdir -p $(1)/usr/lib/openser/modules + $(INSTALL_DIR) $(1)/usr/lib/openser/modules (cd $(PKG_BUILD_DIR);\ $(CP) $(OPENSER_MODULE_FILES) $(1)/usr/lib/openser/modules/; \ ) - mkdir -p $(1)/etc/openser + $(INSTALL_DIR) $(1)/etc/openser $(CP) $(PKG_BUILD_DIR)/etc/openser.cfg $(1)/etc/openser/ endef diff --git a/net/wiviz/Makefile b/net/wiviz/Makefile index 3ca83298b..fcc202054 100644 --- a/net/wiviz/Makefile +++ b/net/wiviz/Makefile @@ -38,7 +38,7 @@ define Build/Compile endef define Package/wiviz/install - mkdir -p $(1)/usr/sbin + $(INSTALL_DIR) $(1)/usr/sbin $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/ $(CP) ./files/* $(1) find $(1) -name CVS | xargs rm -rf diff --git a/sound/flite/Makefile b/sound/flite/Makefile index 3bf3acab1..6b64297ef 100644 --- a/sound/flite/Makefile +++ b/sound/flite/Makefile @@ -50,9 +50,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/flite + $(INSTALL_DIR) $(1)/usr/include/flite $(CP) $(PKG_INSTALL_DIR)/usr/include/flite/{cst,flite}*.h $(1)/usr/include/flite/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libflite*.so.* $(1)/usr/lib/ endef diff --git a/utils/bzip2/Makefile b/utils/bzip2/Makefile index d46c95cae..289d70421 100644 --- a/utils/bzip2/Makefile +++ b/utils/bzip2/Makefile @@ -39,14 +39,14 @@ MAKE_FLAGS += \ bzip2 \ define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_BUILD_DIR)/bzlib.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/libbz2.a $(1)/usr/lib/ endef define Package/bzip2/install - mkdir -p $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/ endef diff --git a/utils/digitemp/Makefile b/utils/digitemp/Makefile index 070bfafae..b4fdce311 100644 --- a/utils/digitemp/Makefile +++ b/utils/digitemp/Makefile @@ -70,12 +70,12 @@ define Build/Compile endef define Package/digitemp/install - mkdir -p $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/bin/ $(CP) $(PKG_BUILD_DIR)/digitemp_DS9097 $(1)/usr/bin/ endef define Package/digitemp-usb/install - mkdir -p $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/bin/ $(CP) $(PKG_BUILD_DIR)/digitemp_DS2490 $(1)/usr/bin/ endef diff --git a/utils/foxboard-utils/Makefile b/utils/foxboard-utils/Makefile index 87a68b0f2..fcdcef9e0 100644 --- a/utils/foxboard-utils/Makefile +++ b/utils/foxboard-utils/Makefile @@ -40,7 +40,7 @@ endef define Package/foxboard-utils/install $(INSTALL_DIR) $(1)/ $(CP) $(PKG_INSTALL_DIR)/* $(1) - mkdir -p $(1)/www/cgi-bin + $(INSTALL_DIR) $(1)/www/cgi-bin cd $(1)/www/cgi-bin; ln -s ../../bin/editcgi.cgi . endef diff --git a/utils/ntfs-3g/Makefile b/utils/ntfs-3g/Makefile index 770991265..50a67603f 100644 --- a/utils/ntfs-3g/Makefile +++ b/utils/ntfs-3g/Makefile @@ -90,9 +90,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/ntfs-3g $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs-3g.{a,so*} $(1)/usr/lib/ endef diff --git a/utils/rrdtool/Makefile b/utils/rrdtool/Makefile index 198fed5bc..f658e32d5 100644 --- a/utils/rrdtool/Makefile +++ b/utils/rrdtool/Makefile @@ -100,9 +100,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/rrd.h $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd.{a,so*} $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd_th.{a,so*} $(1)/usr/lib/ endef diff --git a/utils/sane-backends/Makefile b/utils/sane-backends/Makefile index 177ff122b..4962ba624 100644 --- a/utils/sane-backends/Makefile +++ b/utils/sane-backends/Makefile @@ -111,9 +111,9 @@ define Package/sane-frontends/install endef define Build/InstallDev - mkdir -p $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/sane $(1)/usr/include/ - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsane.{a,so*} $(1)/usr/lib/ endef diff --git a/utils/sysfsutils/Makefile b/utils/sysfsutils/Makefile index f2a5bee1d..f892b0ebb 100644 --- a/utils/sysfsutils/Makefile +++ b/utils/sysfsutils/Makefile @@ -38,9 +38,9 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(1)/usr/include/sysfs + $(INSTALL_DIR) $(1)/usr/include/sysfs $(CP) $(PKG_BUILD_DIR)/include/*.h $(1)/usr/include/sysfs - mkdir -p $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/lib/.libs/libsysfs.{a,so*} $(1)/usr/lib/ endef -- 2.30.2