From 50a20bfb4e4318d65ff3a08fee9753efbb8fd965 Mon Sep 17 00:00:00 2001 From: John Regan Date: Wed, 26 Aug 2015 14:00:13 -0400 Subject: [PATCH] New package: oniguruma (multi-charset regex library) --- srcpkgs/oniguruma-devel | 1 + srcpkgs/oniguruma-docs | 1 + srcpkgs/oniguruma/template | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 120000 srcpkgs/oniguruma-devel create mode 120000 srcpkgs/oniguruma-docs create mode 100644 srcpkgs/oniguruma/template diff --git a/srcpkgs/oniguruma-devel b/srcpkgs/oniguruma-devel new file mode 120000 index 00000000000..14f26760942 --- /dev/null +++ b/srcpkgs/oniguruma-devel @@ -0,0 +1 @@ +oniguruma \ No newline at end of file diff --git a/srcpkgs/oniguruma-docs b/srcpkgs/oniguruma-docs new file mode 120000 index 00000000000..14f26760942 --- /dev/null +++ b/srcpkgs/oniguruma-docs @@ -0,0 +1 @@ +oniguruma \ No newline at end of file diff --git a/srcpkgs/oniguruma/template b/srcpkgs/oniguruma/template new file mode 100644 index 00000000000..39990bb2168 --- /dev/null +++ b/srcpkgs/oniguruma/template @@ -0,0 +1,37 @@ +# Template build file for 'oniguruma' +pkgname=oniguruma +version=5.9.6 +revision=1 +build_style=gnu-configure +short_desc="A multi-charset regular expressions library" +maintainer="John Regan " +license="BSD" +homepage="http://www.geocities.jp/kosako3/oniguruma/" +distfiles="$homepage/archive/onig-${version}.tar.gz" +checksum="d5642010336a6f68b7f2e34b1f1cb14be333e4d95c2ac02b38c162caf44e47a7" +wrksrc="onig-${version}" +nocross="yes" + +post_install() { + vlicense COPYING +} + +oniguruma-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +} + +oniguruma-docs_package() { + short_desc+=" - documentation" + pkg_install() { + mkdir -p $PKGDESTDIR/usr/share/doc + cp -r doc $PKGDESTDIR/usr/share/doc/oniguruma + } +} +