summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-23 13:29:15 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-23 13:29:15 +0000
commitacbb40d7e1d8af5d0e06fc553c237404443c3df8 (patch)
tree03536ab68f6d0bf3894df158ac40f8520094de26 /package
parent2e73ce15002b9a339f44f48fc9d329a62b56ae4d (diff)
standardize Makefile, change section from base to net
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4814 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/pptp/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/pptp/Makefile b/package/pptp/Makefile
index b060c12a7..b32ab0627 100644
--- a/package/pptp/Makefile
+++ b/package/pptp/Makefile
@@ -21,20 +21,21 @@ PKG_CAT:=zcat
include $(INCLUDE_DIR)/package.mk
define Package/pptp
-SECTION:=base
-# CATEGORY:=FIXME
-TITLE:=PPTP (Point-to-Point Tunneling Protocol) client
-DESCRIPTION:=A Point-to-Point Tunneling Protocol Client
-URL:=http://pptpclient.sourceforge.net/
+ SECTION:=net
+ CATEGORY:=Network
+ TITLE:=PPTP client
+ DESCRIPTION:=\
+ This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
+ URL:=http://pptpclient.sourceforge.net/
endef
define Package/pptp/install
+ install -d -m0755 $(1)/usr/sbin
+ install -m0755 $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
install -d -m0755 $(1)/etc/ppp
install -m0644 ./files/options.pptp $(1)/etc/ppp/
install -d -m0755 $(1)/lib/network
install -m0755 ./files/pptp.sh $(1)/lib/network/
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,pptp))