projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[packages] ipcad: Don't add host include paths.
[packages.git]
/
libs
/
libidn
/
Makefile
diff --git
a/libs/libidn/Makefile
b/libs/libidn/Makefile
index
f43dbb8
..
4861720
100644
(file)
--- a/
libs/libidn/Makefile
+++ b/
libs/libidn/Makefile
@@
-1,4
+1,5
@@
-# Copyright (C) 2009 OpenWrt.org
+#
+# Copyright (C) 2009-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-7,12
+8,15
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=libidn
include $(TOPDIR)/rules.mk
PKG_NAME:=libidn
-PKG_VERSION:=1.1
5
-PKG_RELEASE:=
1
+PKG_VERSION:=1.1
6
+PKG_RELEASE:=
2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/libidn
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/libidn
-PKG_MD5SUM:=482a25b7b223e52f967fafd284a1a992
+PKG_MD5SUM:=a6af62602fa71bc1b90ce246dd208bd6
+
+PKG_FIXUP:=libtool
+PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/package.mk
@@
-35,18
+39,13
@@
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--enable-shared \
--enable-static \
-define Build/Compile
- $(call Build/Compile/Default, \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- CC="$(TARGET_CC)" \
- all install \
- )
-endef
+MAKE_FLAGS += \
+ CC="$(TARGET_CC)" \
define Build/InstallDev
define Build/InstallDev
-
mkdir -p
$(1)/usr/include
+
$(INSTALL_DIR)
$(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(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
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libidn.{a,so*} $(1)/usr/lib/
endef