New package: libtifiles2-1.1.7

This commit is contained in:
Andrew Benson 2018-05-03 09:20:10 -05:00 committed by maxice8
parent 23cd4dac14
commit ff962ca18b
3 changed files with 36 additions and 0 deletions

View File

@ -3399,3 +3399,4 @@ libdtkwidget.so.2 dtkwidget-2.0.6.1_1
libcue.so.2 libcue-2.2.0_1
libdtkwm.so.2 dtkwm-2.0.6_1
libticonv.so.8 libticonv-1.1.5_1
libtifiles2.so.10 libtifiles2-1.1.7_1

1
srcpkgs/libtifiles2-devel Symbolic link
View File

@ -0,0 +1 @@
libtifiles2

View File

@ -0,0 +1,34 @@
# Template file for 'libtifiles2'
pkgname=libtifiles2
version=1.1.7
revision=1
_tilpver=1.18
build_style=gnu-configure
hostmakedepends="automake bison groff intltool libtool pkg-config texinfo"
makedepends="libticonv-devel libarchive-devel gettext-devel"
short_desc="TI File format library"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license=" GPL-2.0-or-later"
homepage="https://www.ticalc.org"
distfiles="${SOURCEFORGE_SITE}/tilp/tilp2-linux/tilp2-${_tilpver}/${pkgname}-${version}.tar.bz2"
checksum=9ac63b49e97b09b30b37bbc84aeb15fa7967bceb944e56141c5cd5a528acc982
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" gettext-devel"
fi
pre_configure() {
mkdir -p m4
autoreconf -i -v -f
}
libtifiles2-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}