include $(TOPDIR)/rules.mk
PKG_NAME:=libvorbisidec
-PKG_VERSION:=1.2.0-dave
+PKG_VERSION:=1.0.2+svn12153
PKG_RELEASE:=1
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://users.tpg.com.au/davico/openwrt/
+PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
+PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/libv/libvorbisidec/
PKG_MD5SUM:=cb8e51aab92ef164f8e0e8853f7164fa
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
endef
define Build/Configure
+ (cd $(PKG_BUILD_DIR); ./autogen.sh );
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
--- /dev/null
+*** libvorbisidec-1.0.2+svn12153/autogen.sh.orig Tue Nov 20 19:07:46 2007
+--- libvorbisidec-1.0.2+svn12153/autogen.sh Tue Nov 20 19:08:24 2007
+***************
+*** 109,120 ****
+ $ACLOCAL $ACLOCAL_FLAGS || exit 1
+ echo " $LIBTOOLIZE --automake"
+ $LIBTOOLIZE --automake || exit 1
+- echo " autoheader"
+- autoheader || exit 1
+ echo " $AUTOMAKE --add-missing $AUTOMAKE_FLAGS"
+ $AUTOMAKE --add-missing $AUTOMAKE_FLAGS || exit 1
+ echo " autoconf"
+ autoconf || exit 1
+
+ cd $olddir
+- $srcdir/configure --enable-maintainer-mode "$@" && echo
+--- 109,117 ----