Merge pull request #2327 from steski/unibilium

New package: libtermkey
This commit is contained in:
Jürgen Buchmüller 2015-08-22 18:44:08 +02:00
commit d4c963d537
5 changed files with 78 additions and 1 deletions

View file

@ -2136,4 +2136,5 @@ 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
libtermkey.so.1 libtermkey-0.17_1

1
srcpkgs/libtermkey-devel Symbolic link
View file

@ -0,0 +1 @@
libtermkey

View file

@ -0,0 +1,37 @@
# Template file for 'libtermkey'
pkgname=libtermkey
version=0.17
revision=1
hostmakedepends="libtool pkg-config perl"
makedepends="unibilium-devel"
short_desc="Library for processing keyboard entry from terminal-based programs"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="MIT"
homepage="http://www.leonerd.org.uk/code/libtermkey"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum="68949364ed5eaad857b3dea10071cde74b00b9f236dfbb702169f246c3cef389"
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 termkey.h libtermkey.la
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense LICENSE
}
libtermkey-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"
}
}

1
srcpkgs/unibilium-devel Symbolic link
View file

@ -0,0 +1 @@
unibilium

View file

@ -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 <sa.prybylx@gmail.com>"
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"
}
}