void-packages/srcpkgs/flickcurl/template
2015-12-24 08:03:37 +01:00

34 lines
963 B
Bash

# Template file for 'flickcurl'
pkgname=flickcurl
version=1.26
revision=2
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 GPL-2 Apache-2.0"
homepage="http://librdf.org/flickcurl/"
distfiles="http://download.dajobe.org/flickcurl/flickcurl-${version}.tar.gz"
checksum=ff42a36c7c1c7d368246f6bc9b7d792ed298348e5f0f5d432e49f6803562f5a3
flickcurl-doc_package() {
noarch=yes
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
}
}