build system cleanup. move shared include files into $(TOPDIR)/include, move lzma...
[openwrt.git] / package / pptp / Makefile
index de7c50c..6d01ce1 100644 (file)
@@ -12,7 +12,7 @@ PKG_SOURCE_URL:=@SF/pptpclient
 PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
 PKG_CAT:=zcat
 
-include $(TOPDIR)/package/rules.mk
+include $(TOPDIR)/include/package.mk
 
 define Package/pptp
 SECTION:=base
@@ -23,12 +23,12 @@ URL:=http://pptpclient.sourceforge.net/
 endef
 
 define Package/pptp/install
-       install -d -m0755 $(IDIR_PPTP)/sbin
-       install -d -m0755 $(IDIR_PPTP)/etc/ppp
-       install -d -m0755 $(IDIR_PPTP)/usr/sbin
-       install -m0755 ./files/ifup.pptp $(IDIR_PPTP)/sbin/ifup.pptp
-       install -m0644 ./files/options.pptp $(IDIR_PPTP)/etc/ppp/
-       install -m0755 $(PKG_BUILD_DIR)/pptp $(IDIR_PPTP)/usr/sbin/
+       install -d -m0755 $(1)/etc/ppp
+       install -m0644 ./files/options.pptp $(1)/etc/ppp/
+       install -d -m0755 $(1)/sbin
+       install -m0755 ./files/ifup.pptp $(1)/sbin/
+       install -d -m0755 $(1)/usr/sbin
+       install -m0755 $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
 endef
 
 $(eval $(call BuildPackage,pptp))
This page took 0.022675 seconds and 4 git commands to generate.