standardize Makefile, change section from base to net

SVN-Revision: 4814
This commit is contained in:
Nicolas Thill 2006-09-23 13:29:15 +00:00
parent c2e15f935a
commit 1ce3686fac

View file

@ -21,20 +21,21 @@ PKG_CAT:=zcat
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/pptp define Package/pptp
SECTION:=base SECTION:=net
# CATEGORY:=FIXME CATEGORY:=Network
TITLE:=PPTP (Point-to-Point Tunneling Protocol) client TITLE:=PPTP client
DESCRIPTION:=A Point-to-Point Tunneling Protocol Client DESCRIPTION:=\
URL:=http://pptpclient.sourceforge.net/ This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
URL:=http://pptpclient.sourceforge.net/
endef endef
define Package/pptp/install 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 -d -m0755 $(1)/etc/ppp
install -m0644 ./files/options.pptp $(1)/etc/ppp/ install -m0644 ./files/options.pptp $(1)/etc/ppp/
install -d -m0755 $(1)/lib/network install -d -m0755 $(1)/lib/network
install -m0755 ./files/pptp.sh $(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 endef
$(eval $(call BuildPackage,pptp)) $(eval $(call BuildPackage,pptp))