1
0
forked from ports/contrib

26 lines
700 B
Plaintext
Raw Normal View History

2006-11-20 07:26:53 +10:00
# Description: Free Civilisation Clone
# URL: http://www.freeciv.org
2007-01-20 12:21:06 +10:00
# Packager: James Mills, prologic at shortcircuit dot net dot au
# Maintainer: Thomas Penteker, tek at serverop dot de
2021-01-07 14:23:31 +00:00
# Depends on: gtk3 sdl2_mixer xorg-libxaw xorg-libxpm
2006-11-14 09:01:22 +10:00
name=freeciv
2021-01-07 14:23:31 +00:00
version=2.6.3
2006-11-14 09:01:22 +10:00
release=1
2010-12-14 13:15:14 +01:00
source=(http://prdownloads.sf.net/freeciv/$name-$version.tar.bz2)
2006-11-14 09:01:22 +10:00
build() {
2006-11-20 07:26:53 +10:00
cd $name-$version
2021-01-07 14:23:31 +00:00
CFLAGS+=' -Wno-cpp' \
./configure --prefix=/usr \
--enable-shared \
--enable-client=gtk3 \
--enable-fcmp=gtk3 \
2021-01-07 14:23:31 +00:00
--without-ggz-client \
--disable-nls
make
make DESTDIR=$PKG install
2014-04-29 15:13:24 +02:00
rm -rf $PKG/usr/share/{locale,doc}
find $PKG -iname '*readme*' -exec rm -fr '{}' \+
2006-11-14 09:01:22 +10:00
}