mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
guilib, cleanup, disable static library, remove libtool file (#8298)
This commit is contained in:
@@ -6,7 +6,7 @@ like button, scrollbar, and image.
|
||||
HOMEPAGE="http://www.libsdl.org/projects/GUIlib/"
|
||||
COPYRIGHT="Public Domain"
|
||||
LICENSE="Public Domain"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://www.libsdl.org/projects/GUIlib/src/GUIlib-1.2.1.tar.gz"
|
||||
CHECKSUM_SHA256="3b383e537238048f4712395a38b9e3c65475d1dc93413e557f1b0a39c88f68df"
|
||||
SOURCE_DIR="GUIlib-$portVersion"
|
||||
@@ -14,10 +14,12 @@ SOURCE_DIR="GUIlib-$portVersion"
|
||||
ARCHITECTURES="?all x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="0.0.1"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
guilib$secondaryArchSuffix = $portVersion compat >= 1.2
|
||||
lib:libGUI$secondaryArchSuffix = 1.2_0.0.1 compat >= 1.2_0
|
||||
lib:libGUI_1.2$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
lib:libGUI_1.2$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -27,8 +29,8 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
guilib${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
|
||||
devel:libGUI$secondaryArchSuffix = 1.2_0.0.1 compat >= 1.2_0
|
||||
devel:libGUI_1.2$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
devel:libGUI$secondaryArchSuffix
|
||||
devel:libGUI_1.2$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
guilib$secondaryArchSuffix == $portVersion base
|
||||
@@ -55,7 +57,7 @@ BUILD()
|
||||
aclocal --install -I m4
|
||||
./autogen.sh
|
||||
|
||||
runConfigure ./configure
|
||||
runConfigure ./configure --disable-static
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -63,6 +65,9 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool file
|
||||
rm -f $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLibs libGUI \
|
||||
libGUI-1.2
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user