cb8f0f9411338f775aa696751723b1200e134564
[packages.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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=oidentd
12 PKG_VERSION:=2.0.8
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/ojnk
17 PKG_MD5SUM:=c3d9a56255819ef8904b867284386911
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/oidentd
25   SECTION:=net
26   CATEGORY:=Network
27   TITLE:=Identd server 
28   URL:=http://dev.ojnk.net/
29 endef
30
31 define Package/oidentd/description
32         A nat aware identd server that will correctly forwared requests to clients.
33 endef
34
35 # uses GNU configure
36
37 define Build/Compile
38         $(call Build/Compile/Default,all)
39 endef
40
41 define Package/oidentd/install
42         $(INSTALL_DIR) $(1)/usr/sbin
43         $(CP) $(PKG_BUILD_DIR)/src/oidentd $(1)/usr/sbin/
44         $(INSTALL_DIR) $(1)/etc/init.d
45         $(CP) ./files/oidentd.init $(1)/etc/init.d/oidentd
46 endef
47
48 $(eval $(call BuildPackage,oidentd))