43c85838cd917a97d8dd2d62f37c7905aaebc4e1
[openwrt/svn-archive/archive.git] / libs / radlib / Makefile
1 #
2 # Copyright (C) 2006-2010 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:=radlib
11 PKG_VERSION:=2.8.5
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/radlib
16 PKG_MD5SUM:=82ab0c702e55a860b69ad76e2aac748f
17
18 ifeq ($(CONFIG_EXTERNAL_KERNEL_TREE),)
19 PATCH_DIR:=
20 else
21 PATCH_DIR:=./patches
22 endif
23
24 PKG_FIXUP:=libtool
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define Package/radlib
29 SECTION:=libs
30 CATEGORY:=Libraries
31 TITLE:=Rapid Application Development Library
32 URL:=http://www.radlib.teel.ws/
33 endef
34
35 define Package/radlib/description
36 radlib is a rapid application development library for unix multi-process applications
37 endef
38
39 CONFIGURE_ARGS += \
40 --prefix="$(TOOLCHAIN_DIR)/usr"
41
42 define Package/radlib/install
43 $(INSTALL_DIR) $(1)/usr/lib
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/.libs/librad.so $(1)/usr/lib/
45 endef
46
47
48 $(eval $(call BuildPackage,radlib))