2015-08-22 14:05:30 +02:00
|
|
|
# Template file for 'icu4lua'
|
|
|
|
pkgname=icu4lua
|
|
|
|
version=0.2B
|
2016-04-01 09:58:57 +02:00
|
|
|
revision=3
|
2015-08-22 14:05:30 +02:00
|
|
|
create_wrksrc=yes
|
|
|
|
build_style=gnu-makefile
|
|
|
|
hostmakedepends="pkg-config unzip"
|
2015-11-29 09:30:47 +01:00
|
|
|
makedepends="icu-devel lua51-devel"
|
2015-08-22 14:05:30 +02:00
|
|
|
short_desc="Binary module for providing Unicode support to Lua"
|
|
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
|
|
license="MIT,X"
|
2015-10-29 10:44:52 +01:00
|
|
|
homepage="http://luaforge.net/projects/icu-lua/"
|
2015-08-22 14:05:30 +02:00
|
|
|
distfiles="
|
|
|
|
http://files.luaforge.net/releases/icu-lua/icu-lua/${version}/ICU4Lua-${version}-src.zip
|
|
|
|
http://files.luaforge.net/releases/icu-lua/icu-lua/${version}/ICU4Lua-${version}-docs.zip"
|
|
|
|
checksum="
|
|
|
|
04368e7f7573f7e0d9ca4d9f06d760234ae51199e6e7682701a0fc0cfb5cd677
|
|
|
|
d46449d77bc403e3258fd77e37de664148b0051fbd92a5d1c51b167370a26d02"
|
|
|
|
|
|
|
|
CFLAGS="-fPIC"
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cp ${FILESDIR}/Makefile src
|
|
|
|
cp ${FILESDIR}/icu4lua.pc.in src
|
|
|
|
make -C src ${make_build_args} ${make_build_target}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make -C src VERSION=${version} DESTDIR=${DESTDIR} install
|
|
|
|
vdoc doc/index.html
|
|
|
|
}
|
|
|
|
|
|
|
|
icu4lua-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|