void-packages/srcpkgs/strigi/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

26 lines
937 B
Bash

# Template file for 'strigi'
pkgname=strigi
version=0.7.8
revision=5
build_style=cmake
configure_args="-DENABLE_INOTIFY=ON -DENABLE_LOG4CXX=OFF -DENABLE_FAM=OFF
-DENABLE_CLUCENE=OFF -DENABLE_CLUCENE_NG=ON -DENABLE_FFMPEG=OFF"
hostmakedepends="pkg-config cmake perl"
makedepends="attr-devel zlib-devel bzip2-devel boost-devel exiv2-devel libxml2-devel clucene-devel dbus-devel qt-devel"
short_desc="Small fast desktop searching program"
homepage="http://www.vandenoever.info/software/strigi/"
license="LGPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.vandenoever.info/software/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=43e461a625acdefa59bf58cc9d10aebda9eba920dfbe800fc77e6dcbf1eff989
strigi-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}