diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-04-11 15:47:48 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-04-11 15:47:48 -0300 |
commit | 0a5c3c1b892045d2867e5deaed544f1a2e9f2a5e (patch) | |
tree | f4d9b5074ad4f7f0b34f6e14f97bd05c219b5fc9 /social/seeks/PKGBUILD | |
parent | 0281f473276b0a6278686a8ecaaf10b39f1d3828 (diff) |
social/seeks-0.4.1-2
Merged seeks-git into it
Diffstat (limited to 'social/seeks/PKGBUILD')
-rw-r--r-- | social/seeks/PKGBUILD | 100 |
1 files changed, 52 insertions, 48 deletions
diff --git a/social/seeks/PKGBUILD b/social/seeks/PKGBUILD index 09da52060..53cc57471 100644 --- a/social/seeks/PKGBUILD +++ b/social/seeks/PKGBUILD @@ -2,61 +2,65 @@ # Co-maintainer: Enjolras < 0enjolras0 at laposte dot net > pkgname=seeks -pkgver=0.4.0 +pkgver=0.4.1 pkgrel=2 -pkgdesc="An open decentralized platform for collaborative search content" -arch=('i686' 'x86_64') -url="http://www.seeks-project.info" -license=('AGPL3') +pkgdesc="A social decentralized internet overlay for collaborative searches" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.seeks-project.info/site/" +license=('AGPL3' 'LGPL' 'BSD') backup=('etc/logrotate.d/seeks' 'etc/conf.d/seeks' 'etc/seeks/config') -depends=('curl' 'libevent' 'protobuf' 'tokyotyrant' 'opencv' 'icu') -makedepends=('docbook2x' 'pkg-config' ) -source=("http://downloads.sourceforge.net/project/seeks/hippy/seeks-0.4.0.tar.gz" - 'seeks' - 'seeks.conf.d' - 'seeks.logrotate' - 'logfile.patch') -install='install' +depends=('curl' 'libevent>=2.0' 'libxml2' 'opencv' 'protobuf' 'icu' 'tokyotyrant') +makedepends=('pkg-config' 'docbook-xml' 'docbook2x') +source=("http://downloads.sourceforge.net/project/${pkgname}/hippy/${pkgname}-${pkgver}.tar.gz" +'seeks.conf.d' + 'seeks.rc.d' + 'img_websearch.patch' + 'conf.patch' + 'seeks.logrotate') +install=seeks.install build() { - cd "$srcdir/$pkgname-$pkgver" - - autoreconf -ivs - sed -i s/docbook2x-man/docbook2man/ ./configure - ./configure LDFLAGS="-Wl,--no-as-needed" \ - --prefix=/usr --sysconfdir=/etc \ - --enable-opencv --enable-httpserv-plugin --enable-image-websearch-plugin=yes \ - --enable-xslserializer-plugin --enable-personalization --enable-keepalive --enable-extended-host-patterns - - sed -i s/cxflann.h/cv.h/ src/plugins/img_websearch/ocvsurf.cpp - sed -i s/,--as-needed,/,/ config.status - - make - + cd "$srcdir/$pkgname-$pkgver" + # replace <cxflann.h> by <cv.h> + patch -p1 -i "$srcdir/img_websearch.patch" + + # linking issue with --as-needed linker flag, Cli not building with RC2 + LDFLAGS="-Wl,--no-as-needed" \ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-httpserv-plugin \ + --enable-extended-host-patterns + #--disable-cli \ + + sed -i s/,--as-needed,/,/ config.status + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check-local } package() { - cd "$srcdir/$pkgname-$pkgver/src/" - - #Changing logdir and logfile options - #disable plugins cf and query-capture in config - patch -p0 < "$srcdir/logfile.patch" - - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - - install -D -m644 Licenses "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -m644 AGPL-3.txt "${pkgdir}/usr/share/licenses/${pkgname}/" - install -m644 BSD-yui.txt "${pkgdir}/usr/share/licenses/${pkgname}/" - install -D -m755 ../seeks "${pkgdir}"/etc/rc.d/seeks - install -D -m644 ../seeks.conf.d "${pkgdir}"/etc/conf.d/seeks - install -D -m600 ../seeks.logrotate "${pkgdir}"/etc/logrotate.d/seeks + cd "$srcdir/$pkgname-$pkgver" + # Patch config file to make seeks log in /var/log instead of ./ (needed for rc.d) + patch -p1 -i "$srcdir/conf.patch" + make DESTDIR="$pkgdir/" install + + install -D -m644 Licenses "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 ../seeks.conf.d "${pkgdir}/etc/conf.d/seeks" + install -D -m755 ../seeks.rc.d "${pkgdir}/etc/rc.d/seeks" + install -D -m600 ../seeks.logrotate "${pkgdir}/etc/logrotate.d/seeks" + install -d -m755 "${pkgdir}/var/log/seeks" + install -d -m755 "${pkgdir}/var/lib/seeks" } -md5sums=('a2d0b6e7b91036883c0b327ead5e93c0' - '33e6da05cca492019e6aff39684aed26' - '52e7e06a28974547041012a1cf3207f3' - 'd1aba6739972239c6cd09178807e196f' - 'e352306f5396a1af4dfc81a18bfc5a71') + +# vim:set ts=2 sw=2 et: +md5sums=('2545192be5fa2e70d850f7395d039a0f' + 'ed29089d43873600726d570e63a5043d' + '72a00a931363edd2ed11c0072bfd5b10' + '2554e9f9f733d83203d0926e599e66db' + '71a99dafa726539b9de9055468e2f56c' + '5fbdf9c327999605b0f124132f27a27d') |