#
-# Copyright (C) 2007-2009 OpenWrt.org
+# Copyright (C) 2007-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
include $(TOPDIR)/rules.mk
PKG_NAME:=liboil
-PKG_VERSION:=0.3.16
+PKG_VERSION:=0.3.17
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://liboil.freedesktop.org/download/
-PKG_MD5SUM:=febb1d9f9bc4c440fcf622dc90f8b6b7
+PKG_MD5SUM:=47dc734f82faeb2964d97771cfd2e701
PKG_FIXUP:=libtool
+PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
provided by modern CPUs (Altivec, MMX, SSE, etc.).
endef
-TARGET_CFLAGS += $(FPIC)
-
CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
+TARGET_CFLAGS += $(FPIC)
+
# XXX: VFP_CFLAGS is set to '-mfpu=vfp' on arm by configure, but that breaks
# final linking stages, so override it until we find why
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- VFP_CFLAGS="" \
- all install
-endef
+MAKE_FLAGS += \
+ VFP_CFLAGS="" \
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
--- a/Makefile.in
+++ b/Makefile.in
-@@ -270,7 +270,7 @@ sys_symbol_underscore = @sys_symbol_unde
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
+@@ -278,7 +278,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign
-SUBDIRS = liboil testsuite examples doc
+SUBDIRS = liboil testsuite