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