1c0b36309a53c88d50731d2abde8691d22396db6
[openwrt/svn-archive/archive.git] / net / icecast / libvorbisidec.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=icecast-libvorbisidec
12 PKG_VERSION:=1.2.0-dave
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=libvorbisidec-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://users.tpg.com.au/davico/openwrt/
17 PKG_MD5SUM:=cb8e51aab92ef164f8e0e8853f7164fa
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/libvorbisidec-$(PKG_VERSION)
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
21 PATCH_DIR=./patches-libvorbisidec
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Build/Configure
26 $(call Build/Configure/Default, \
27 --disable-shared \
28 --enable-static \
29 )
30 endef
31
32 define Build/Compile
33 $(MAKE) -C $(PKG_BUILD_DIR) \
34 DESTDIR="$(PKG_INSTALL_DIR)" \
35 all install
36 endef
37
38 define Build/InstallDev
39 true
40 endef
41
42 $(eval $(call Build/DefaultTargets))