21 lines
700 B
Bash
21 lines
700 B
Bash
# Template file for 'perl-Tk'
|
|
pkgname=perl-Tk
|
|
version=804.036
|
|
revision=3
|
|
build_style=perl-module
|
|
configure_args="X11INC=${XBPS_CROSS_BASE}/usr/include
|
|
X11LIB=${XBPS_CROSS_BASE}/usr/lib"
|
|
hostmakedepends="perl pkg-config"
|
|
makedepends="perl libX11-devel libpng-devel libjpeg-turbo-devel"
|
|
short_desc='Tk graphical interface for Perl'
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Artistic-1.0-Perl, GPL-1.0-or-later"
|
|
homepage="https://metacpan.org/release/Tk"
|
|
distfiles="${CPAN_SITE}/Tk/Tk-${version}.tar.gz"
|
|
checksum=32aa7271a6bdfedc3330119b3825daddd0aa4b5c936f84ad74eabb932a200a5e
|
|
|
|
post_configure() {
|
|
sed -i 's,X11/Xproto.h,,; s,X11/Xutil.h,,' pTk/Makefile
|
|
sed -i 's,png.h,,' PNG/Makefile
|
|
}
|