void-packages/srcpkgs/perl-Tk/template

22 lines
779 B
Bash

# Template file for 'perl-Tk'
pkgname=perl-Tk
version=804.034
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=perl-module
configure_args="X11INC=/usr/include"
hostmakedepends="perl libX11-devel libpng-devel libjpeg-turbo-devel"
makedepends="${hostmakedepends}"
short_desc='Tk graphical interface for Perl'
maintainer="Enguerrand de Rochefort <voidlinux@rochefort.de>"
homepage="https://metacpan.org/release/Tk"
license="GPL-1, Artistic"
distfiles="${CPAN_SITE}/Tk/Tk-${version}.tar.gz"
checksum=fea6b144c723528a2206c8cd9175844032ee9c14ee37791f0f151e5e5b293fe2
nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/21051/steps/shell_3/logs/stdio"
post_configure() {
sed -i 's,X11/Xproto.h,,; s,X11/Xutil.h,,' pTk/Makefile
sed -i 's,png.h,,' PNG/Makefile
}