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