# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ao/
PKG_MD5SUM:=12e136a4c0995068ff134997c84421ed
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
include $(INCLUDE_DIR)/package.mk
define Package/libao
output audio using a simple API on a wide variety of platforms.
endef
-define Build/Configure
- $(call Build/Configure/Default, \
- --enable-shared \
- --enable-static \
- --disable-esd \
- --disable-arts \
- --disable-nas \
- --disable-polyp \
- )
-endef
+CONFIGURE_ARGS += \
+ --enable-shared \
+ --enable-static \
+ --disable-esd \
+ --disable-arts \
+ --disable-nas \
+ --disable-polyp
+
+TARGET_CFLAGS += $(FPIC)
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \