[arch-commits] Commit in pdns-recursor/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Mar 6 23:17:38 UTC 2010


    Date: Saturday, March 6, 2010 @ 18:17:38
  Author: jgc
Revision: 71416

upgpkg: pdns-recursor 3.1.7.2-2
Enable LUA interpreter. Upstream includes it by default (FS#18131)

Modified:
  pdns-recursor/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-03-06 23:15:01 UTC (rev 71415)
+++ PKGBUILD	2010-03-06 23:17:38 UTC (rev 71416)
@@ -2,13 +2,14 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 pkgname=pdns-recursor
 pkgver=3.1.7.2
-pkgrel=1
+pkgrel=2
 pkgdesc="PowerDNS recursor"
 url="http://www.powerdns.com"
 license=('GPL')
 arch=('i686' 'x86_64')
-depends=('gcc-libs>=4.4.3')
+depends=('gcc-libs>=4.4.3' 'lua')
 makedepends=('boost')
+options=(!makeflags)
 backup=('etc/powerdns/recursor.conf')
 source=(http://downloads.powerdns.com/releases/${pkgname}-${pkgver}.tar.bz2
         pdns-recursor.rc)
@@ -17,8 +18,7 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure || return 1
-  make || return 1
+  LUA=1 LUA_CPPFLAGS_CONFIG= LUA_LIBS_CONFIG=-llua make || return 1
   make DESTDIR="${pkgdir}" install || return 1
   install -d -m755 "${pkgdir}/etc/rc.d"
   mv "${pkgdir}/etc/powerdns/recursor.conf-dist" "${pkgdir}/etc/powerdns/recursor.conf" || return 1




More information about the arch-commits mailing list