void-packages/srcpkgs/flickcurl/template

35 lines
963 B
Bash
Raw Normal View History

2015-12-23 17:12:03 +00:00
# Template file for 'flickcurl'
pkgname=flickcurl
version=1.26
2015-12-24 07:03:37 +00:00
revision=2
2015-12-23 17:12:03 +00:00
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() {
2015-12-24 07:03:37 +00:00
noarch=yes
2015-12-23 17:12:03 +00:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - Documentation (HTML Version)"
pkg_install() {
vmove usr/share/gtk-doc
}
}
flickcurl-devel_package() {
2015-12-24 07:03:37 +00:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2015-12-23 17:12:03 +00:00
short_desc+=" - development files"
pkg_install() {
2015-12-24 07:03:37 +00:00
vmove usr/bin/flickcurl-config
vmove usr/share/man/man1/flickcurl-config.1
2015-12-23 17:12:03 +00:00
vmove usr/include
vmove usr/lib/pkgconfig
2015-12-24 07:03:37 +00:00
vmove usr/lib/*.a
vmove usr/lib/*.so
2015-12-23 17:12:03 +00:00
}
}