#Packager: Tim Beech #Based on syncbq's SlackBuild pkgname=openresolv pkgver=3.8.1 pkgrel=1tjb arch=noarch source=("http://roy.marples.name/downloads/openresolv/openresolv-$pkgver.tar.xz" "update-resolv-conf") sourcetemplate=http://people.salixos.org/mimosa/packages/$pkgname/$pkgver/ docs=("readme") #url= dotnew=(/etc/openvpn/update-resolv-conf) #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "openresolv - management framework for resolv.conf" "Allows multiple daemons to manage resolv.conf and configures local" "resolvers such as dnsmasq and unbound. This package may require some" "manual configuration. Please read resolvconf(8) and resolvconf.conf(5)" "for detailed instructions." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # update-resolv-conf mkdir -p $startdir/pkg/etc/openvpn chmod +x $startdir/src/update-resolv-conf cp $startdir/src/update-resolv-conf $startdir/pkg/etc/openvpn }