unfs3: add support for compiling with the external librpc
[openwrt/svn-archive/archive.git] / net / oidentd / Makefile
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:=oidentd
11 PKG_VERSION:=2.0.8
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/ojnk
16 PKG_MD5SUM:=c3d9a56255819ef8904b867284386911
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/oidentd
21 SECTION:=net
22 CATEGORY:=Network
23 TITLE:=Identd server
24 URL:=http://dev.ojnk.net/
25 endef
26
27 define Package/oidentd/description
28 A nat aware identd server that will correctly forwared requests to clients.
29 endef
30
31 # uses GNU configure
32
33 define Build/Compile
34 $(call Build/Compile/Default,all)
35 endef
36
37 define Package/oidentd/install
38 $(INSTALL_DIR) $(1)/usr/sbin
39 $(CP) $(PKG_BUILD_DIR)/src/oidentd $(1)/usr/sbin/
40 $(INSTALL_DIR) $(1)/etc/init.d
41 $(INSTALL_BIN) ./files/oidentd.init $(1)/etc/init.d/oidentd
42 endef
43
44 $(eval $(call BuildPackage,oidentd))