Retain symlinks. $(INSTALL_*) copys the contens of a file, so if we want to keep
[openwrt/svn-archive/archive.git] / Xorg / xorg / lib / libX11 / Makefile
index 08290e5..10cd0e5 100644 (file)
@@ -8,9 +8,8 @@
 
 include $(TOPDIR)/rules.mk
 
-PKG_BASE_NAME:=libX11
 PKG_NAME:=libX11
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 PKG_VERSION:=1.1.5
 
 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/lib/
@@ -51,7 +50,7 @@ endef
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/X11}
-       $(INSTALL_DATA) \
+       $(CP) \
                $(PKG_INSTALL_DIR)/usr/lib/*.{so*,la,a} \
                $(1)/usr/lib/
 
@@ -66,7 +65,7 @@ endef
 
 define Package/libX11/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DATA) \
+       $(CP) \
                $(PKG_INSTALL_DIR)/usr/lib/*.so* \
                $(1)/usr/lib/
 endef