From 27ba8a21b2d0dfa43899590fe27e64e5c596bc5b Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 23 Mar 2015 23:16:25 +0100 Subject: [PATCH] New package: libutf8proc-1.1.6 --- common/shlibs | 1 + srcpkgs/libutf8proc-devel | 1 + srcpkgs/libutf8proc/template | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 120000 srcpkgs/libutf8proc-devel create mode 100644 srcpkgs/libutf8proc/template diff --git a/common/shlibs b/common/shlibs index 203c59889a9..bc3461bfea7 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1958,3 +1958,4 @@ libopenconnect.so.5 openconnect-7.05_1 libusbredirparser.so.1 usbredir-0.7_1 libusbredirhost.so.1 usbredir-0.7_1 libprotobuf-c.so.1 protobuf-c-1.1.0_1 +libutf8proc.so.1 libutf8proc-1.1.6_1 diff --git a/srcpkgs/libutf8proc-devel b/srcpkgs/libutf8proc-devel new file mode 120000 index 00000000000..3c8de3956e5 --- /dev/null +++ b/srcpkgs/libutf8proc-devel @@ -0,0 +1 @@ +libutf8proc \ No newline at end of file diff --git a/srcpkgs/libutf8proc/template b/srcpkgs/libutf8proc/template new file mode 100644 index 00000000000..d424631b697 --- /dev/null +++ b/srcpkgs/libutf8proc/template @@ -0,0 +1,36 @@ +# Template build file for 'libutf8proc'. +pkgname=libutf8proc +version=1.1.6 +revision=1 +hostmakedepends="pkg-config perl netsurf-buildsystem" +makedepends="libparserutils-devel>=0.2.0 libwapcaplet-devel>=0.2.1" +short_desc="CSS parser and selection engine, written in C" +maintainer="Juan RP " +license="MIT" +homepage="http://www.netsurf-browser.org" +distfiles="http://git.netsurf-browser.org/$pkgname.git/snapshot/$pkgname-release/$version.tar.bz2" +checksum=8e21bcf381a389f0f70b0234c4e5c97e9ef7716b4f518c9be06cc2b4f1167065 +wrksrc=libutf8proc-release/1.1.6 + +do_build() { + make ${makejobs} HOST_CC=cc COMPONENT_TYPE=lib-shared PREFIX=/usr + make ${makejobs} HOST_CC=cc COMPONENT_TYPE=lib-static PREFIX=/usr +} + +do_install() { + make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install + make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install + + vinstall LICENSE 0644 usr/share/licenses/${pkgname} +} + +libutf8proc-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}