nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / net / frickin / 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:=frickin
11 PKG_VERSION:=1.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/frickin
16 PKG_MD5SUM:= 5b2e98da2310c71c703d4617b88a173f
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/frickin
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=PPTP (Point-to-Point Tunneling Protocol) proxy
26 URL:=http://frickin.sourceforge.net/
27 SUBMENU:=VPN
28 endef
29
30 define Package/frickin/description
31 Frickin PPTP Proxy allows a Point-to-Point Tunneling Protocol (PPTP)
32 client to connect to a PPTP server through Network Address
33 Translation (NAT).
34 endef
35
36 define Package/frickin/conffiles
37 /etc/default/frickin
38 endef
39
40 define Build/Configure
41 $(MAKE) -C $(PKG_BUILD_DIR) \
42 $(TARGET_CONFIGURE_OPTS) \
43 CFLAGS="$(TARGET_CFLAGS)" \
44 all
45 endef
46
47 define Package/frickin/install
48 $(INSTALL_DIR) $(1)/etc/default
49 $(INSTALL_DATA) ./files/frickin.default $(1)/etc/default/frickin
50 $(INSTALL_DIR) $(1)/etc/init.d
51 $(INSTALL_BIN) ./files/frickin.init $(1)/etc/init.d/frickin
52 $(INSTALL_DIR) $(1)/usr/sbin
53 $(INSTALL_BIN) $(PKG_BUILD_DIR)/frickin $(1)/usr/sbin/
54 endef
55
56 $(eval $(call BuildPackage,frickin))