New package: libxo-0.9.0.

This commit is contained in:
maxice8 2018-05-25 19:36:33 -03:00
parent 448f4f58e4
commit 06e2ab9bda
5 changed files with 50 additions and 0 deletions

View File

@ -2974,6 +2974,7 @@ libfishsound.so.1 libfishsound-1.0.0_1
libxqilla.so.2 XQilla-2.3.4_1
libKF5DocTools.so.5 kdoctools-5.36.0_1
libKF5MediaPlayer.so.5 kmediaplayer-5.36.0_1
libxo.so.0 libxo-0.9.0_1
libbrotlicommon.so.1 brotli-1.0.2_1
libbrotlidec.so.1 brotli-1.0.2_1
libbrotlienc.so.1 brotli-1.0.2_1

1
srcpkgs/libxo-devel Symbolic link
View File

@ -0,0 +1 @@
libxo

1
srcpkgs/libxo-progs Symbolic link
View File

@ -0,0 +1 @@
libxo

View File

@ -0,0 +1,10 @@
--- libxo/xo_syslog.c
+++ libxo/xo_syslog.c
@@ -58,7 +58,6 @@
#include <stdarg.h>
#include <sys/time.h>
#include <sys/types.h>
-#include <sys/sysctl.h>
#include "xo_config.h"
#include "xo.h"

37
srcpkgs/libxo/template Normal file
View File

@ -0,0 +1,37 @@
# 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
}
}