34 lines
919 B
Bash
34 lines
919 B
Bash
# Template file for 'libtifiles2'
|
|
pkgname=libtifiles2
|
|
version=1.1.7
|
|
revision=2
|
|
_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 [ "$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"
|
|
}
|
|
}
|
|
|