[packages] Fix linking of libsdl_{mixer,sound}
[openwrt/svn-archive/archive.git] / libs / radlib / Makefile
1 # Copyright (C) 2006-2010 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=radlib
10 PKG_VERSION:=2.8.5
11 PKG_RELEASE:=2
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=@SF/radlib
15 PKG_MD5SUM:=82ab0c702e55a860b69ad76e2aac748f
16
17 ifeq ($(CONFIG_EXTERNAL_KERNEL_TREE),)
18 PATCH_DIR:=
19 else
20 PATCH_DIR:=./patches
21 endif
22
23 PKG_FIXUP:=libtool
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/radlib
28 SECTION:=libs
29 CATEGORY:=Libraries
30 TITLE:=Rapid Application Development Library
31 endef
32
33 define Package/radlib/description
34 radlib is a rapid application development library for unix multi-process applications
35 endef
36
37 CONFIGURE_ARGS += \
38 --prefix="$(TOOLCHAIN_DIR)/usr"
39
40 define Package/radlib/install
41 $(INSTALL_DIR) $(1)/usr/lib
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/.libs/librad.so $(1)/usr/lib/
43 endef
44
45
46 $(eval $(call BuildPackage,radlib))