New package: sombok-2.4.0

This commit is contained in:
newbluemoon 2017-09-16 22:48:49 +02:00 committed by Leаh Neukirchen
parent 2bda3977eb
commit 9feca2adc2
4 changed files with 48 additions and 0 deletions

View File

@ -2844,6 +2844,7 @@ libmuthreads.so.1.11 libmupdf-1.11_4
libprotobuf-lite.so.14 protobuf-lite-3.4.0_1
libprotoc.so.14 protobuf-3.4.0_1
libprotobuf.so.14 protobuf-3.4.0_1
libsombok.so.3 sombok-2.4.0_1
libite.so.3 libite-1.8.2_1
libykclient.so.3 ykclient-2.15_1
libbooster.so.0 cppcms-1.0.5_1

1
srcpkgs/sombok-devel Symbolic link
View File

@ -0,0 +1 @@
sombok

View File

@ -0,0 +1,17 @@
--- configure.ac.orig 2015-06-21 03:57:51.000000000 +0200
+++ configure.ac 2017-09-11 16:41:33.565358208 +0200
@@ -120,9 +120,11 @@
AC_HELP_STRING(--with-unicode-version=VERSION,
[version of Unicode Standard @<:@default=current version@:>@]),
UNICODE_VERSION=$withval,UNICODE_VERSION=$DEFAULT_UNICODE_VERSION)
-AC_CHECK_FILE([lib/$UNICODE_VERSION.c],
- AC_MSG_RESULT($UNICODE_VERSION),
- AC_MSG_ERROR(Unknown Unicode version $UNICODE_VERSION.))
+if test -f "lib/$UNICODE_VERSION.c"; then
+ AC_MSG_RESULT($UNICODE_VERSION)
+else
+ AC_MSG_ERROR(Unknown Unicode version $UNICODE_VERSION.)
+fi
AC_SUBST(UNICODE_VERSION)
# check if code to debug memory allocation is enabled.

29
srcpkgs/sombok/template Normal file
View File

@ -0,0 +1,29 @@
# Template file for 'sombok'
pkgname=sombok
version=2.4.0
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config automake autogen libtool"
short_desc="Line Breaking Algorithm described in Unicode Standard Annex UAX #14"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="Artistic, GPL-1"
homepage="https://github.com/hatukanezumi/sombok"
distfiles="https://github.com/hatukanezumi/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=14d9dcd3621bf9d591a7158aeac99b4d4a60296558173be51d57b54b8f9d70a2
pre_configure() {
autoreconf -i
}
sombok-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}