opt/openvpn/Pkgfile

25 lines
684 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Full-featured SSL VPN solution
# URL: http://openvpn.sourceforge.net/
2006-04-13 06:29:47 +02:00
# Maintainer: Jukka Heino, jukka dot heino at gmail dot com
# Packager: Jukka Heino, jukka dot heino at gmail dot com
2006-05-12 02:54:24 +02:00
# Depends on: lzo, openssl
2006-02-23 16:26:10 +01:00
name=openvpn
2006-04-12 16:44:21 +02:00
version=2.0.7
2006-02-23 16:26:10 +01:00
release=1
source=(http://$name.net/release/$name-$version.tar.gz \
$name.conf \
$name.rc)
build() {
cd $name-$version
2006-05-12 02:54:24 +02:00
./configure --prefix=/usr
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
install -d $PKG/var/{empty,log,run}
install -D -m 0755 $SRC/$name.rc $PKG/etc/rc.d/$name
install -D -m 0644 $SRC/$name.conf $PKG/etc/$name/$name.conf
touch $PKG/var/{log/openvpn.log,run/openvpn.pid}
}