X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec;fp=yaz.spec;h=8e6ea589edb2cd9b7d3c74a405cdc7f76a2eea8e;hp=e35d6d7cc5c173cd2b7fc72be1ecafbb4561c5da;hb=9300aa0c18c95a88fe9f16dc3660122d5e1d95a1;hpb=94da887fdc444b624e4736e860e9a1777c92e847 diff --git a/yaz.spec b/yaz.spec index e35d6d7..8e6ea58 100644 --- a/yaz.spec +++ b/yaz.spec @@ -46,7 +46,8 @@ BuildRequires: libxml2-devel BuildRequires: libxslt-devel BuildRequires: readline-devel BuildRequires: libicu-devel -BuildRequires: libmemcached-devel +BuildRequires: wget +BuildRequires: cyrus-sasl-devel BuildRequires: libgcrypt-devel Packager: Adam Dickmeiss URL: http://www.indexdata.com/yaz @@ -96,9 +97,17 @@ chain facility of YAZ. %prep %setup +wget -q http://ftp.indexdata.dk/pub/support/libmemcached-1.0.18.tar.gz +tar zxf libmemcached-1.0.18.tar.gz + %build -CFLAGS="$RPM_OPT_FLAGS" \ +YD=`pwd` +cd libmemcached-1.0.18 +./configure --disable-shared --prefix=${YD}/libmemcached +make install +cd .. +PKG_CONFIG_PATH=${YD}/libmemcached/lib/pkgconfig CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \ --enable-shared --enable-tcpd --with-xslt --with-gnutls --with-icu make CFLAGS="$RPM_OPT_FLAGS"