[arch-commits] Commit in pdns-recursor/trunk (PKGBUILD)
Jan Steffens
heftig at nymeria.archlinux.org
Mon Apr 29 22:43:01 UTC 2013
Date: Tuesday, April 30, 2013 @ 00:43:00
Author: heftig
Revision: 89547
use lua51
Modified:
pdns-recursor/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-29 22:36:26 UTC (rev 89546)
+++ PKGBUILD 2013-04-29 22:43:00 UTC (rev 89547)
@@ -9,7 +9,7 @@
url='https://www.powerdns.com/'
license=('GPL')
arch=('x86_64' 'i686')
-depends=('gcc-libs' 'lua')
+depends=('gcc-libs' 'lua51')
makedepends=('boost')
backup=('etc/powerdns/recursor.conf')
source=("http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.bz2"
@@ -20,14 +20,15 @@
build() {
cd "$srcdir/$pkgname-$pkgver"
- LUA=1 LUA_CPPFLAGS_CONFIG= LUA_LIBS_CONFIG=`pkg-config --libs lua` make
+ make LUA=1 \
+ LUA_CPPFLAGS_CONFIG="$(pkg-config --cflags lua5.1)" \
+ LUA_LIBS_CONFIG="$(pkg-config --libs lua5.1)"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- install -d -m755 "$pkgdir/etc/rc.d"
mv "$pkgdir/etc/powerdns/recursor.conf-dist" "$pkgdir/etc/powerdns/recursor.conf"
rm -r "$pkgdir/etc/init.d"
install -Dm644 "$srcdir/pdns-recursor.service" \
More information about the arch-commits
mailing list