2019-01-18 01:50:48 +00:00
|
|
|
# Template file for 'chafa'
|
|
|
|
pkgname=chafa
|
|
|
|
version=1.0.1
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libglib-devel libmagick-devel libXext-devel libxml2-devel"
|
|
|
|
short_desc="Versatile and fast Unicode/ASCII/ANSI graphics renderer"
|
|
|
|
maintainer="Christian Buschau <christian.buschau@mailbox.org>"
|
|
|
|
license="LGPL-3.0-or-later"
|
|
|
|
homepage="https://hpjansson.org/chafa/"
|
|
|
|
distfiles="https://hpjansson.org/chafa/releases/chafa-${version}.tar.xz"
|
|
|
|
checksum=49d491a566a22daf56c51c043259f1373a1b1125d5c1c1fe321f7c25ca178e01
|
2019-01-25 21:15:42 +00:00
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
x86_64*|i686*) ;;
|
|
|
|
*) configure_args+=" ax_cv_gcc_check_x86_cpu_init=no
|
|
|
|
ax_cv_gcc_check_x86_cpu_supports=no" ;;
|
|
|
|
esac
|
2019-01-18 01:50:48 +00:00
|
|
|
|
|
|
|
chafa-devel_package() {
|
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|