update python to 2.4.4 -- security fix
[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 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/frickin
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=PPTP (Point-to-Point Tunneling Protocol) proxy
28 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 URL:=http://frickin.sourceforge.net/
33 endef
34
35 define Package/frickin/conffiles
36 /etc/default/frickin
37 endef
38
39 define Build/Configure
40 $(MAKE) -C $(PKG_BUILD_DIR) \
41 $(TARGET_CONFIGURE_OPTS) \
42 CFLAGS="$(TARGET_CFLAGS)" \
43 all
44 endef
45
46 define Package/frickin/install
47 $(INSTALL_DIR) $(1)/etc/default
48 $(INSTALL_DATA) ./files/frickin.default $(1)/etc/default/frickin
49 $(INSTALL_DIR) $(1)/etc/init.d
50 $(INSTALL_BIN) ./files/frickin.init $(1)/etc/init.d/frickin
51 $(INSTALL_DIR) $(1)/usr/sbin
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/frickin $(1)/usr/sbin/
53 endef
54
55 $(eval $(call BuildPackage,frickin))