diff --git a/common/shlibs b/common/shlibs index d676c2bc9d8..c845066b68a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2136,4 +2136,4 @@ libiniparser.so.0 iniparser-4.0_1 libzita-resampler.so.1 zita-resampler-1.3.0_1 libmlt.so.6 mlt-0.9.6_1 libmlt++.so.3 mlt-0.9.6_1 - +libunibilium.so.0 unibilium-1.1.6_1 diff --git a/srcpkgs/unibilium-devel b/srcpkgs/unibilium-devel new file mode 120000 index 00000000000..c3ca75f8a1e --- /dev/null +++ b/srcpkgs/unibilium-devel @@ -0,0 +1 @@ +unibilium \ No newline at end of file diff --git a/srcpkgs/unibilium/template b/srcpkgs/unibilium/template new file mode 100644 index 00000000000..1679dcf9f79 --- /dev/null +++ b/srcpkgs/unibilium/template @@ -0,0 +1,37 @@ +# Template file for 'unibilium' +pkgname=unibilium +version=1.1.6 +revision=1 +# build_style="gnu-makefile" +hostmakedepends="libtool perl" +short_desc="A simple, self-contained terminfo library" +maintainer="Steve Prybylski " +license="LGPL-3" +homepage="https://github.com/mauke/unibilium" +distfiles="https://github.com/mauke/${pkgname}/archive/v${version}.tar.gz" +checksum="b2d3df3e8b6fd7c84b7b585806b3a33c068a392486cf82074faf3d78bd2ea1ed" +CFLAGS="-fPIC" + +do_build() { + if [ "$CROSS_BUILD" ]; then + cp /usr/bin/libtool . + sed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool + sed -e 's,libtool,./libtool,g' -i Makefile + fi + make ${makejobs} +} + +do_install() { + make PREFIX=/usr DESTDIR=${DESTDIR} install +} + +unibilium-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" + } +}