### this file is sourced not run
PKGVER=2.0
PKGBUILD=1
PKGARCH=x86_64

# source: james/jafadmin
SLACKREQ='gtk2 pptpclient'
SLACKDESC="gpptp: gpptp $PKGVER (PPTP client GUI)
gpptp: 
gpptp: This is a GTK GUI for PPTP client. It provides easy access to 
gpptp: start/stop VPN tunnel using PPTP.
gpptp: 
gpptp: See /usr/share/doc/gpptp/README.odt for more details.
gpptp: 
gpptp: https://oldforum.puppylinux.com/viewtopic.php?t=93384
gpptp: 
gpptp: 
gpptp: 
"

### default pkg_download
### prepare
pkg_prepare() {
	: no tarball - all source files in this recipe
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/pkg/src &&
	make &&
	install -m755 gpptp mk-vpn-key /usr/bin &&
	
	cd .. &&
	cp -a etc/* /etc &&
	install -dm755 /usr/share/doc/gpptp &&
	install -m644 ReadMe.odt /usr/share/doc/gpptp &&
	install -m644 gpptp.desktop /usr/share/applications &&
	
	pkg_build_slackdesc
}
 

