void-packages/srcpkgs/xplanet/template

21 lines
707 B
Text
Raw Normal View History

2013-07-26 17:51:14 +00:00
# Template file for 'xplanet'
pkgname=xplanet
version=1.3.0
2014-10-03 18:24:38 +00:00
revision=3
2013-07-26 17:51:14 +00:00
build_style=gnu-configure
configure_args="--with-freetype"
hostmakedepends="pkg-config"
makedepends="pango-devel freetype-devel giflib-devel tiff-devel libXScrnSaver-devel"
short_desc="Planetary body renderer"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://xplanet.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=44fb742bb93e5661ea8b11ccabcc12896693e051f3dd5083c9227224c416b442
2014-10-03 21:29:20 +00:00
pre_configure() {
# make it build with giflib-5.1.0
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
sed -i "/[DE]GifCloseFile/s:file:&, NULL:g" src/libimage/gif.c
}