commit
5ffcab0e58
1 changed files with 13 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'brltty'
|
# Template file for 'brltty'
|
||||||
pkgname=brltty
|
pkgname=brltty
|
||||||
version=5.2
|
version=5.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="ncurses-devel alsa-lib-devel gpm-devel at-spi2-core-devel"
|
makedepends="ncurses-devel alsa-lib-devel gpm-devel at-spi2-core-devel"
|
||||||
configure_args="--enable-gpm --with-screen-driver=lx --with-tables-directory=/usr/share/brltty"
|
configure_args="--enable-gpm --with-screen-driver=lx --with-tables-directory=/usr/share/brltty"
|
||||||
|
@ -12,6 +12,18 @@ homepage="http://mielke.cc/brltty/"
|
||||||
distfiles="http://mielke.cc/brltty/archive/brltty-${version}.tar.xz"
|
distfiles="http://mielke.cc/brltty/archive/brltty-${version}.tar.xz"
|
||||||
checksum=f1293940317a675d0eaeaf3f363bbfe4bfaa5225c2116123a61ce2d3c71943f7
|
checksum=f1293940317a675d0eaeaf3f363bbfe4bfaa5225c2116123a61ce2d3c71943f7
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) # There is no ldconfig in musl libc
|
||||||
|
sed -e "s;/sbin/ldconfig -n;echo;" -i configure
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
post_configure() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
arm*-musl) # Fix erroneously detected "#define HAVE_SYS_IO_H 1"
|
||||||
|
sed -i config.h -e"s;#define HAVE_SYS_IO_H 1;#undef HAVE_SYS_IO_H;"
|
||||||
|
esac
|
||||||
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make INSTALL_ROOT=${DESTDIR} install
|
make INSTALL_ROOT=${DESTDIR} install
|
||||||
vsv $pkgname
|
vsv $pkgname
|
||||||
|
|
Loading…
Reference in a new issue