From: Nicolas Thill Date: Fri, 18 Dec 2009 11:06:19 +0000 (+0000) Subject: [packages] massive: use $(INSTALL_DIR) instead of 'mkdir -p' in install and InstallDev X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6d892c2a3f1cd389aed7054ebfc052da37031ec5;p=openwrt%2Fsvn-archive%2Farchive.git [packages] massive: use $(INSTALL_DIR) instead of 'mkdir -p' in install and InstallDev SVN-Revision: 18816 --- diff --git a/lang/egenix-mx/Makefile b/lang/egenix-mx/Makefile index 559c6e9077..29a4086e1d 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 773e9a8383..91d676243d 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 621837e1fd..cf8d0d7592 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 922e58edab..f017393573 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 ac2a19ccf2..264a0835fc 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 32059cee26..f0a562b00e 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 8fbc9f6558..8456e85d6e 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 88e091f296..72e202ed80 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 5f875a4ac2..76de1ba63a 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 4aa4498700..b5e3508743 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 93cfb1ba3a..fc7fa06b3b 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 99c69e4495..655ae97f53 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 a695920088..80b0d26bc6 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 2c94173f2e..b4170d6c9a 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 2caea66039..dab60e7830 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 5c06076e61..3423df0375 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 cf4d725a1a..596ea64722 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 e9046a310d..70fb6fdefa 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 175a3c71b8..2ba3d29229 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 3c6ab588ee..751f22a288 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 1e4e39bba4..ab620d7d6f 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 ec292a1743..1f8e78a656 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 689d0a0370..e2c0af9ece 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 b241efbc23..5dc6cbc9cf 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 5c21fadebf..04d2aae272 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 08dc7cb668..725e404651 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 547a90966d..c741118df0 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 4459fed2d8..7cac891481 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 a982d0306c..5f5af9cfd1 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 27fdb33b69..a448e25518 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 10aceb9c7c..a0d3ca3774 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 bd354b65e3..5eb3850bad 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 f60ce08c05..ba97cbbeff 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 5ae4785403..d98764d55e 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 eef4348289..b72449dccb 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 f37b5a2c8d..f0d2ebf69d 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 c251ba9ea4..66a52243ef 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 7b15bf4c2f..f7d5555570 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 21b8061dba..4f16d9c12e 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 7006aaa05f..88c2c81ca1 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 72ae565f34..b6719e7cf6 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 f5a469620c..e3d163d541 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 238cdb6430..459eebb964 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 e153131440..ba1ad20adc 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 f43dbb8707..0a07441eb4 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 ad59441ce4..2e8b96deb9 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 8a6c9c3efc..d38a5d301a 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 09d686c13d..1856b22940 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 51864e7527..147412f851 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 a31466c7c5..f8b29e88f3 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 b4121d3b40..284caf0cab 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 13f8eabda8..21c0de1e56 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 60935144b1..6cd35d37a5 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 18abfbc6f5..cf1607b944 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 d5a779000a..de19497948 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 62b886bbb9..677d249044 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 142f2d96a5..d2a490f636 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 2f124f3c6e..2fc4aa421f 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 c62fa1c28b..a11a283e29 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 8677a215ce..3eccbdf58e 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 0db98a5a3b..d87fa682f5 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 b54c3cd35a..70ab9d5ff8 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 a22746da8e..bde351195d 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 6904d81d1f..7d733cb943 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 39139fc640..d6f7c2e7da 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 8090501fc5..986de3ceae 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 dcf3f654f6..766de5ca7e 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 a23095fc24..a00a0b5824 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 2647e24b84..4f22390ef7 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 aa7d800e82..618b0d0d6a 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 a8e79f59ed..2d61387b96 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 ca95bf975f..c0d5b6efe2 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 96cb4f7448..bcd693ad6e 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 037632ae06..defce4347a 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 3be044eb6a..ed46f00716 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 a4573ab990..6be909bd14 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 733d8bd90d..750bdc42a7 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 6ee88d4c16..543db246ed 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 89c50c56d3..e2a60be070 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 719840e2b1..4de7cc5812 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 4390ee9371..e380e84f1e 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 0c0a0a25d2..910f29960f 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 0b6e518ed2..81a379dad7 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 3ca83298b7..fcc202054c 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 3bf3acab12..6b64297ef9 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 d46c95cae9..289d704216 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 070bfafae9..b4fdce3112 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 87a68b0f2c..fcdcef9e0b 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 7709912657..50a67603f2 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 198fed5bc7..f658e32d5c 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 177ff122b1..4962ba6244 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 f2a5bee1da..f892b0ebbf 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