void-packages/srcpkgs/flickcurl/template
2019-03-01 12:04:45 -03:00

34 lines
987 B
Bash

# Template file for 'flickcurl'
pkgname=flickcurl
version=1.26
revision=3
build_style=gnu-configure
makedepends="libcurl-devel libxml2-devel raptor-devel"
short_desc="C library for the Flickr API"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="LGPL-2.1-or-later, GPL-2.0-or-later, Apache-2.0"
homepage="http://librdf.org/flickcurl/"
distfiles="http://download.dajobe.org/flickcurl/flickcurl-${version}.tar.gz"
checksum=ff42a36c7c1c7d368246f6bc9b7d792ed298348e5f0f5d432e49f6803562f5a3
flickcurl-doc_package() {
archs=noarch
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - Documentation (HTML Version)"
pkg_install() {
vmove usr/share/gtk-doc
}
}
flickcurl-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/flickcurl-config
vmove usr/share/man/man1/flickcurl-config.1
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}