36 lines
939 B
Bash
36 lines
939 B
Bash
# Template file for 'libticables2'
|
|
pkgname=libticables2
|
|
version=1.3.5
|
|
revision=2
|
|
_tilpver=1.18
|
|
build_style=gnu-configure
|
|
configure_args="--enable-libusb10"
|
|
hostmakedepends="automake bison groff intltool libtool pkg-config"
|
|
makedepends="glib-devel libusb-devel gettext-devel"
|
|
short_desc="TI Link Cable 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=0c6fb6516e72ccab081ddb3aecceff694ed93aec689ddd2edba9c7c7406c4522
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" gettext-devel"
|
|
fi
|
|
|
|
pre_configure() {
|
|
mkdir -p m4
|
|
autoreconf -i -v -f
|
|
}
|
|
|
|
libticables2-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|