summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-08 19:54:05 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-08 19:54:05 +0000
commitb3c03528073cc5a1c276717bd837c79436da6c47 (patch)
tree83f34e6e24ddf9a75dc7374e57d632b0948e581f /package
parentb19c40c2af5d2e12cefabd328a33adb1841816c4 (diff)
Always use -R flag with cp (to preserve symlinks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1175 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/libosip2/Makefile4
-rw-r--r--package/libtool/Makefile6
-rw-r--r--package/lua/Makefile12
-rw-r--r--package/mysql/Makefile4
-rw-r--r--package/net-snmp/Makefile4
-rw-r--r--package/openssl/Makefile8
-rw-r--r--package/sablevm-classpath/Makefile6
-rw-r--r--package/sablevm/Makefile4
-rw-r--r--package/speex/Makefile6
-rw-r--r--package/tcp_wrappers/Makefile8
-rw-r--r--package/usbutils/Makefile4
11 files changed, 33 insertions, 33 deletions
diff --git a/package/libosip2/Makefile b/package/libosip2/Makefile
index 82489fec0..d4e6d6151 100644
--- a/package/libosip2/Makefile
+++ b/package/libosip2/Makefile
@@ -76,9 +76,9 @@ $(STAGING_DIR)/usr/lib/libosip2.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/osip{,parser}2 $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libosip{,parser}2.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libosip{,parser}2.{a,so*} $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libosip2.pc $(STAGING_DIR)/usr/lib/pkgconfig/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libosip2.pc $(STAGING_DIR)/usr/lib/pkgconfig/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libosip2.so
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index 79dca5f0a..2342fb0b0 100644
--- a/package/libtool/Makefile
+++ b/package/libtool/Makefile
@@ -60,15 +60,15 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(IPKG_LIBLTDL):
install -m0755 -d $(IDIR_LIBLTDL)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libltdl.so.* $(IDIR_LIBLTDL)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libltdl.so.* $(IDIR_LIBLTDL)/usr/lib/
$(RSTRIP) $(IDIR_LIBLTDL)
$(IPKG_BUILD) $(IDIR_LIBLTDL) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libltdl.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fp $(PKG_INSTALL_DIR)/usr/include/ltdl.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/ltdl.h $(STAGING_DIR)/usr/include/
mkdir -p $(I_LIBLTDL_DEV)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libltdl.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libltdl.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libltdl.so
diff --git a/package/lua/Makefile b/package/lua/Makefile
index a36c3acb2..95f5fec12 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -57,19 +57,19 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBLUA):
install -d -m0755 $(IDIR_LIBLUA)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.so.* $(IDIR_LIBLUA)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.so.* $(IDIR_LIBLUA)/usr/lib/
$(RSTRIP) $(IDIR_LIBLUA)
$(IPKG_BUILD) $(IDIR_LIBLUA) $(PACKAGE_DIR)
$(IPKG_LUA_INTERPRETER):
install -d -m0755 $(IDIR_LUA_INTERPRETER)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/lua $(IDIR_LUA_INTERPRETER)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/lua $(IDIR_LUA_INTERPRETER)/usr/bin/
$(RSTRIP) $(IDIR_LUA_INTERPRETER)
$(IPKG_BUILD) $(IDIR_LUA_INTERPRETER) $(PACKAGE_DIR)
$(IPKG_LUA_COMPILER):
install -d -m0755 $(IDIR_LUA_COMPILER)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/luac $(IDIR_LUA_COMPILER)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/luac $(IDIR_LUA_COMPILER)/usr/bin/
$(RSTRIP) $(IDIR_LUA_COMPILER)
$(IPKG_BUILD) $(IDIR_LUA_COMPILER) $(PACKAGE_DIR)
@@ -82,10 +82,10 @@ $(IPKG_LUA_EXAMPLES):
$(STAGING_DIR)/usr/lib/liblua.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fp $(PKG_INSTALL_DIR)/usr/include/lua{,lib}.h $(STAGING_DIR)/usr/include/
- cp -fp $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/lua{,lib}.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/liblua{,lib}.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/liblua.so
diff --git a/package/mysql/Makefile b/package/mysql/Makefile
index 64bb6de2e..28d931477 100644
--- a/package/mysql/Makefile
+++ b/package/mysql/Makefile
@@ -103,13 +103,13 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBMYSQLCLIENT):
install -d -m0755 $(IDIR_LIBMYSQLCLIENT)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(IDIR_LIBMYSQLCLIENT)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(IDIR_LIBMYSQLCLIENT)/usr/lib/
$(RSTRIP) $(IDIR_LIBMYSQLCLIENT)
$(IPKG_BUILD) $(IDIR_LIBMYSQLCLIENT) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/mysql/libmysqlclient.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/mysql_config $(STAGING_DIR)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/mysql_config $(STAGING_DIR)/usr/bin/
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/mysql $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
diff --git a/package/net-snmp/Makefile b/package/net-snmp/Makefile
index ba887482c..166d9d3b0 100644
--- a/package/net-snmp/Makefile
+++ b/package/net-snmp/Makefile
@@ -163,11 +163,11 @@ $(IPKG_SNMP_UTILS):
$(STAGING_DIR)/usr/lib/libnetsnmp.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/net-snmp-config $(STAGING_DIR)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/net-snmp-config $(STAGING_DIR)/usr/bin/
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/net-snmp $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libnetsnmp.so
diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index 84822060c..f1e6c5ed9 100644
--- a/package/openssl/Makefile
+++ b/package/openssl/Makefile
@@ -65,18 +65,18 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBOPENSSL):
install -d -m0755 $(IDIR_LIBOPENSSL)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.so.* $(IDIR_LIBOPENSSL)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.so.* $(IDIR_LIBOPENSSL)/usr/lib/
chmod 0644 $(IDIR_LIBOPENSSL)/usr/lib/*
$(RSTRIP) $(IDIR_LIBOPENSSL)
$(IPKG_BUILD) $(IDIR_LIBOPENSSL) $(PACKAGE_DIR)
$(IPKG_OPENSSL_UTIL):
install -d -m0755 $(IDIR_OPENSSL_UTIL)/etc/ssl
- cp -fp $(PKG_INSTALL_DIR)/etc/ssl/openssl.cnf $(IDIR_OPENSSL_UTIL)/etc/ssl/
+ cp -fpR $(PKG_INSTALL_DIR)/etc/ssl/openssl.cnf $(IDIR_OPENSSL_UTIL)/etc/ssl/
install -d -m0755 $(IDIR_OPENSSL_UTIL)/etc/ssl/certs
install -d -m0700 $(IDIR_OPENSSL_UTIL)/etc/ssl/private
install -d -m0755 $(IDIR_OPENSSL_UTIL)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/openssl $(IDIR_OPENSSL_UTIL)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/openssl $(IDIR_OPENSSL_UTIL)/usr/bin/
$(RSTRIP) $(IDIR_OPENSSL_UTIL)
$(IPKG_BUILD) $(IDIR_OPENSSL_UTIL) $(PACKAGE_DIR)
@@ -84,7 +84,7 @@ $(STAGING_DIR)/usr/lib/libssl.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/openssl $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib/
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libssl.so
diff --git a/package/sablevm-classpath/Makefile b/package/sablevm-classpath/Makefile
index 1a006cab0..13fa55513 100644
--- a/package/sablevm-classpath/Makefile
+++ b/package/sablevm-classpath/Makefile
@@ -70,15 +70,15 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBSABLEVM_CLASSPATH):
install -d -m0755 $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/sablevm-classpath
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/sablevm-classpath/libjava*.so $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/sablevm-classpath/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/sablevm-classpath/libjava*.so $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/sablevm-classpath/
install -d -m0755 $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/security
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/security/classpath.security $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/security/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/security/classpath.security $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/security/
$(RSTRIP) $(IDIR_LIBSABLEVM_CLASSPATH)
$(IPKG_BUILD) $(IDIR_LIBSABLEVM_CLASSPATH) $(PACKAGE_DIR)
$(IPKG_SABLEVM_CLASSPATH_FULL):
install -d -m0755 $(IDIR_SABLEVM_CLASSPATH_FULL)/usr/share/sablevm-classpath
- cp -fp $(PKG_INSTALL_DIR)/usr/share/sablevm-classpath/{libclasspath,resources}.jar \
+ cp -fpR $(PKG_INSTALL_DIR)/usr/share/sablevm-classpath/{libclasspath,resources}.jar \
$(IDIR_SABLEVM_CLASSPATH_FULL)/usr/share/sablevm-classpath/
$(IPKG_BUILD) $(IDIR_SABLEVM_CLASSPATH_FULL) $(PACKAGE_DIR)
diff --git a/package/sablevm/Makefile b/package/sablevm/Makefile
index 66cb819c5..e57fdb225 100644
--- a/package/sablevm/Makefile
+++ b/package/sablevm/Makefile
@@ -61,8 +61,8 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_SABLEVM):
install -m0755 -d $(IDIR_SABLEVM)/usr/bin
- cp -fp $(PKG_INSTALL_DIR)/usr/bin/{java-,}sablevm $(IDIR_SABLEVM)/usr/bin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/bin/{java-,}sablevm $(IDIR_SABLEVM)/usr/bin/
install -m0755 -d $(IDIR_SABLEVM)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libsablevm-*.so $(IDIR_SABLEVM)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libsablevm-*.so $(IDIR_SABLEVM)/usr/lib/
$(RSTRIP) $(IDIR_SABLEVM)
$(IPKG_BUILD) $(IDIR_SABLEVM) $(PACKAGE_DIR)
diff --git a/package/speex/Makefile b/package/speex/Makefile
index 5bacda30e..57e7ed47c 100644
--- a/package/speex/Makefile
+++ b/package/speex/Makefile
@@ -61,7 +61,7 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBSPEEX):
install -d -m0755 $(IDIR_LIBSPEEX)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(IDIR_LIBSPEEX)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(IDIR_LIBSPEEX)/usr/lib/
$(RSTRIP) $(IDIR_LIBSPEEX)
$(IPKG_BUILD) $(IDIR_LIBSPEEX) $(PACKAGE_DIR)
@@ -69,9 +69,9 @@ $(STAGING_DIR)/usr/lib/libspeex.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
cp -fpR $(PKG_INSTALL_DIR)/usr/include/speex $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/libspeex.{a,so*} $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libspeex.{a,so*} $(STAGING_DIR)/usr/lib/
mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig
- cp -fp $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/speex.pc $(STAGING_DIR)/usr/lib/pkgconfig/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/speex.pc $(STAGING_DIR)/usr/lib/pkgconfig/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libspeex.so
diff --git a/package/tcp_wrappers/Makefile b/package/tcp_wrappers/Makefile
index 17f8c2977..cb24ed527 100644
--- a/package/tcp_wrappers/Makefile
+++ b/package/tcp_wrappers/Makefile
@@ -41,16 +41,16 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LIBWRAP):
install -d -m0755 $(IDIR_LIBWRAP)/usr/lib
- cp -fp $(PKG_BUILD_DIR)/shared/libwrap.so.* $(IDIR_LIBWRAP)/usr/lib/
+ cp -fpR $(PKG_BUILD_DIR)/shared/libwrap.so.* $(IDIR_LIBWRAP)/usr/lib/
$(RSTRIP) $(IDIR_LIBWRAP)
$(IPKG_BUILD) $(IDIR_LIBWRAP) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libwrap.a: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
- cp -fp $(PKG_BUILD_DIR)/tcpd.h $(STAGING_DIR)/usr/include/
+ cp -fpR $(PKG_BUILD_DIR)/tcpd.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fp $(PKG_BUILD_DIR)/libwrap.a $(STAGING_DIR)/usr/lib/
-# cp -fp $(PKG_BUILD_DIR)/shared/libwrap.so* $(STAGING_DIR)/usr/lib/
+ cp -fpR $(PKG_BUILD_DIR)/libwrap.a $(STAGING_DIR)/usr/lib/
+# cp -fpR $(PKG_BUILD_DIR)/shared/libwrap.so* $(STAGING_DIR)/usr/lib/
touch $@
install-dev: $(STAGING_DIR)/usr/lib/libwrap.a
diff --git a/package/usbutils/Makefile b/package/usbutils/Makefile
index 9b86509bb..8e6112cd9 100644
--- a/package/usbutils/Makefile
+++ b/package/usbutils/Makefile
@@ -60,8 +60,8 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_LSUSB):
install -d -m0755 $(IDIR_LSUSB)/usr/share
- cp -fp $(PKG_INSTALL_DIR)/usr/share/usb.ids $(IDIR_LSUSB)/usr/share/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/share/usb.ids $(IDIR_LSUSB)/usr/share/
install -d -m0755 $(IDIR_LSUSB)/usr/sbin
- cp -fp $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(IDIR_LSUSB)/usr/sbin/
+ cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(IDIR_LSUSB)/usr/sbin/
$(RSTRIP) $(IDIR_LSUSB)
$(IPKG_BUILD) $(IDIR_LSUSB) $(PACKAGE_DIR)