2015-03-23 22:16:25 +00:00
|
|
|
# Template build file for 'libutf8proc'.
|
|
|
|
pkgname=libutf8proc
|
|
|
|
version=1.1.6
|
2015-03-27 07:22:14 +00:00
|
|
|
revision=2
|
2015-03-23 22:16:25 +00:00
|
|
|
hostmakedepends="pkg-config perl netsurf-buildsystem"
|
2015-03-27 07:22:14 +00:00
|
|
|
short_desc="C library for processing UTF-8 encoded Unicode strings"
|
2015-03-23 22:16:25 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|