mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
Update the x11 driver dep as build option.
This commit is contained in:
parent
adab26b664
commit
6025493103
1 changed files with 5 additions and 1 deletions
|
@ -6,12 +6,16 @@ build_style=gnu-configure
|
||||||
hostmakedepends="libtool automake pkg-config"
|
hostmakedepends="libtool automake pkg-config"
|
||||||
short_desc="Graphics library that outputs text instead of pixels"
|
short_desc="Graphics library that outputs text instead of pixels"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
makedepends="libX11-devel ncurses-devel"
|
makedepends="ncurses-devel $(vopt_if x11 libX11-devel)"
|
||||||
homepage="http://caca.zoy.org/wiki/libcaca"
|
homepage="http://caca.zoy.org/wiki/libcaca"
|
||||||
license="WTFPL"
|
license="WTFPL"
|
||||||
distfiles="https://github.com/cacalabs/libcaca/archive/v${version}.tar.gz"
|
distfiles="https://github.com/cacalabs/libcaca/archive/v${version}.tar.gz"
|
||||||
checksum=7ed29a00cc7f017424d8b2994f001f137ed5bc4441987b711d78c6734fdf3493
|
checksum=7ed29a00cc7f017424d8b2994f001f137ed5bc4441987b711d78c6734fdf3493
|
||||||
|
|
||||||
|
# package build options
|
||||||
|
build_options="x11"
|
||||||
|
desc_option_x11="Enable x11 driver"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac
|
sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,' configure.ac
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue