New package: commoncpp2-1.8.1

This commit is contained in:
David 2016-12-06 22:30:44 +01:00 committed by Duncaen
parent 191c346805
commit 43a3b7f4d5
4 changed files with 39 additions and 0 deletions

View File

@ -2823,3 +2823,5 @@ libbrotlienc.so.0.6.0 brotli-0.6.0_1
libfilteraudio.so filter_audio-0.0.1_1
libarmadillo.so.7 armadillo-7.800.2_1
libduktape.so.201 duktape-2.1.1_1
libccgnu2-1.8.so.0 commoncpp2-1.8.1_1
libccext2-1.8.so.0 commoncpp2-1.8.1_1

1
srcpkgs/commoncpp2-devel Symbolic link
View File

@ -0,0 +1 @@
commoncpp2

View File

@ -0,0 +1,10 @@
--- src/applog.cpp.orig 2016-12-02 18:23:28.705313984 +0100
+++ src/applog.cpp 2016-12-02 18:23:45.455313926 +0100
@@ -45,6 +45,7 @@
#include <cstdlib>
#include <stdarg.h>
#include <errno.h>
+#include <sys/stat.h>
// TODO sc: test if has to move up now that it is into commoncpp
// NOTE: the order of inclusion is important do not move following include line

View File

@ -0,0 +1,26 @@
# Template file for 'commoncpp2'
pkgname=commoncpp2
version=1.8.1
revision=1
build_style=gnu-configure
makedepends="libgcc-devel zlib-devel"
short_desc="GNU Common C++ 2"
maintainer="David <kalichakra@zoho.com>"
license="GPL-3"
homepage='http://www.gnu.org/software/commoncpp/'
distfiles="${GNU_SITE}/commoncpp/$pkgname-${version}.tar.gz"
checksum="53ced4aff74e28a1d8018eb2b4974519028db3c12471ab6dff1c873578c9af4e"
commoncpp2-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/ccgnu2-config
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/info
vmove usr/share/aclocal
}
}