35 lines
952 B
Bash
35 lines
952 B
Bash
# Template file for 'libticalcs2'
|
|
pkgname=libticalcs2
|
|
version=1.1.9
|
|
revision=1
|
|
_tilpver=1.18
|
|
build_style=gnu-configure
|
|
hostmakedepends="autoconf automake bison groff intltool libtool pkg-config
|
|
texinfo"
|
|
makedepends="libticables2-devel libtifiles2-devel"
|
|
short_desc="Library for interacting with TI graphing calculators"
|
|
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=76780788bc309b647f97513d38dd5f01611c335a72855e0bd10c7bdbf2e38921
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" gettext-devel"
|
|
fi
|
|
|
|
pre_configure() {
|
|
mkdir -p m4
|
|
autoreconf -i -v -f
|
|
}
|
|
|
|
libticalcs2-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|