42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Template file for 'icu4lua'
|
|
pkgname=icu4lua
|
|
version=0.2B
|
|
revision=1
|
|
create_wrksrc=yes
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config unzip"
|
|
makedepends="icu55-devel lua51-devel"
|
|
short_desc="Binary module for providing Unicode support to Lua"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="MIT,X"
|
|
homepage="http://luaforge.net/projects/${pkgname}/"
|
|
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"
|
|
}
|
|
}
|