[packages] freeradius2: Package rlm_always (#8291)
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=icecast-libvorbisidec
11 PKG_VERSION:=1.2.0-dave
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=libvorbisidec-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://users.tpg.com.au/davico/openwrt/
16 PKG_MD5SUM:=cb8e51aab92ef164f8e0e8853f7164fa
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/libvorbisidec-$(PKG_VERSION)
19 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
20 PATCH_DIR=./patches-libvorbisidec
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Build/Configure
25 $(call Build/Configure/Default, \
26 --disable-shared \
27 --enable-static \
28 )
29 endef
30
31 define Build/Compile
32 $(MAKE) -C $(PKG_BUILD_DIR) \
33 DESTDIR="$(PKG_INSTALL_DIR)" \
34 all install
35 endef
36
37 define Build/InstallDev
38 true
39 endef
40
41 $(eval $(call Build/DefaultTargets))