[packages] sqlite2: Move package to database submenu
[openwrt/svn-archive/archive.git] / libs / libol / Makefile
index b0a2b30851c32e9c6cc0dc5aa159280001bc0657..a21ccfa99f91580ed6fd9c8e5a10cea6741b7809 100644 (file)
@@ -4,7 +4,6 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
 
 include $(TOPDIR)/rules.mk
 
@@ -13,7 +12,7 @@ PKG_VERSION:=0.3.18
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.balabit.com/downloads/libol/0.3
+PKG_SOURCE_URL:=http://www.balabit.com/downloads/files/libol/0.3
 PKG_MD5SUM:=cbadf4b7ea276dfa85acc38a1cc5ff17
 PKG_FIXUP:=libtool
 
@@ -58,15 +57,15 @@ define Build/InstallDev
                $(1)/usr/include/libol/
 
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DATA) \
-               $(PKG_INSTALL_DIR)/usr/lib/libol.{la,so*} \
+       $(CP) \
+               $(PKG_INSTALL_DIR)/usr/lib/libol.{a,la,so*} \
                $(1)/usr/lib/
 endef
 
 define Package/libol/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_DATA) \
-               $(PKG_INSTALL_DIR)/usr/lib/libol.{a,so*} \
+       $(CP) \
+               $(PKG_INSTALL_DIR)/usr/lib/libol.so* \
                $(1)/usr/lib/
 endef