void-packages/srcpkgs/libxo/template
2018-06-17 15:35:12 -03:00

37 lines
918 B
Bash

# Template file for 'libxo'
pkgname=libxo
version=0.9.0
revision=1
build_style=gnu-configure
short_desc="Library for programs to output XML, JSON and HTML"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-2-Clause"
homepage="https://juniper.github.io/libxo/libxo-manual.html"
distfiles="https://github.com/Juniper/libxo/releases/download/${version}/libxo-${version}.tar.gz"
checksum=81fa2843e9d2695b6308a900e52e67d0489979f42e77dae1a5b0c6a4c584fc63
post_install() {
vlicense Copyright
}
libxo-devel_package() {
depends="libxo-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/libxo-config
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}
libxo-progs_package() {
depends="libxo"
short_desc+=" - programs and utilities"
pkg_install() {
vmove usr/bin
vmove usr/share/man/man1
}
}