mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
freeciv: bump version.
* enable shared libs to reduce the size of binaries.
This commit is contained in:
@@ -9,11 +9,11 @@ adjustable parameters to make customizing games possible.
|
||||
Freeciv has been implemented completely independently of Civilization; \
|
||||
you do not need to own Civilization to play Freeciv."
|
||||
HOMEPAGE="http://www.freeciv.org"
|
||||
COPYRIGHT="1996-2016 The Freeciv Team"
|
||||
COPYRIGHT="1996-2017 The Freeciv Team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://downloads.sourceforge.net/project/freeciv/Freeciv%202.5/$portVersion/freeciv-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="6781e655c514d0a86975c87235de24f740cbdf81f33711d68a910b360963bd30"
|
||||
CHECKSUM_SHA256="b83c73585ae80898b27379984f936591b51422c9caccb94880fa16030c975928"
|
||||
ADDITIONAL_FILES="freeciv.rdef.in"
|
||||
PATCHES="freeciv-$portVersion.patchset"
|
||||
|
||||
@@ -30,6 +30,8 @@ PROVIDES="
|
||||
cmd:freeciv_manual$secondaryArchSuffix
|
||||
cmd:freeciv_sdl$secondaryArchSuffix
|
||||
cmd:freeciv_server$secondaryArchSuffix
|
||||
lib:libfreeciv$secondaryArchSuffix
|
||||
lib:libfreeciv_srv$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
@@ -85,7 +87,8 @@ BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure --datarootdir=$dataRootDir --datadir=$dataDir \
|
||||
--enable-client=sdl --enable-fcmp=no --enable-sys-lua
|
||||
--enable-client=sdl --enable-fcmp=no --enable-sys-lua --enable-shared \
|
||||
--enable-aimodules
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -112,7 +115,6 @@ INSTALL()
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Freeciv
|
||||
mv $prefix/share/* $dataRootDir
|
||||
rm -rf $prefix/share
|
||||
|
||||
rm -rf $prefix/lib
|
||||
rmdir $prefix/share
|
||||
rm -f $libDir/*.a $libDir/*.la
|
||||
}
|
||||
Reference in New Issue
Block a user