1
0
forked from ports/contrib
contrib/xplanet/Pkgfile

24 lines
672 B
Plaintext
Raw Normal View History

2006-11-22 00:11:40 +11:00
# Description: Renders an image of the earth into the X root window.
# URL: http://xplanet.sourceforge.net/
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
2020-01-20 15:42:04 +00:00
# Depends on: libtiff xorg
2006-11-22 00:11:40 +11:00
name=xplanet
2012-04-15 00:12:25 +10:00
version=1.3.0
2020-01-20 15:42:04 +00:00
release=2
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
xplanet-c++11.patch)
2006-11-22 00:11:40 +11:00
2006-12-05 22:29:16 +11:00
build() {
2009-06-26 01:01:32 +10:00
cd $name-$version
2020-01-20 15:42:04 +00:00
# https://git.archlinux.org/svntogit/community.git/tree/trunk/xplanet-c++11.patch?h=packages/xplanet
patch -Np1 -i $SRC/xplanet-c++11.patch
2009-06-26 01:01:32 +10:00
./configure \
2020-01-20 15:42:04 +00:00
--prefix=/usr
2009-06-26 01:01:32 +10:00
2007-04-01 20:21:01 +10:00
make
make DESTDIR=$PKG install
2007-06-08 12:13:57 +10:00
find $PKG -name "README" -type f -delete
2006-11-22 00:11:40 +11:00
}