Changed gmp-5.1.1.recipe to actually build, may need some further work.

WIP version of taglib-1.7.2, but it fails to find cmake?
This commit is contained in:
Scott McCreary
2013-08-24 11:52:47 -07:00
parent 27d367d428
commit 06bd201d94
2 changed files with 43 additions and 13 deletions

View File

@@ -1,33 +1,63 @@
SUMMARY="GMP - GNU Multiple Precision Arithmetic Library"
DESCRIPTION="GMP - GNU Multiple Precision Arithmetic Library"
HOMEPAGE="http://gmplib.org/"
SRC_URI="ftp://ftp.gmplib.org/pub/gmp-5.1.1/gmp-5.1.1.tar.xz"
CHECKSUM_MD5="485b1296e6287fa381e6015b19767989"
LICENSE="GNU GPL v3
GNU LGPL v3"
COPYRIGHT="1991-2013 Free Software Foundation, Inc."
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="cmp:gmp = $portVersion compat >= 5.1
lib:libgmp
lib:libgmp = 10
lib:libgmp = 10.1.1"
REQUIRES="haiku >= $haikuVersion"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:libtool
cmd:autoconf
cmd:automake
cmd:make
"
SOURE_DIR="$portVersionedName"
BUILD()
{
cd gmp-5.1.1
libtoolize --force --copy --install
aclocal
autoconf
automake --add-missing
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
cd gmp-5.1.1
make install
# prepare devel/lib
prepareInstalledDevelLibs libgmp
# devel package
packageEntries devel \
$developDir
}
TEST()
{
cd gmp-5.1.1
make check
}
LICENSE="GNU GPL v3
GNU LGPL v3"
COPYRIGHT="1991-2013 Free Software Foundation, Inc."
# ----- devel package
PROVIDES_devel="
libgmp = $portVersion
devel:libgmp = 10.1.1 compat >= 0
"
REQUIRES_devel="
libgmp == $portVersion base
"

View File

@@ -1,14 +1,14 @@
SUMMARY="TabLib Audio Meta-Data Library"
DESCRIPTION="TagLib Audio Meta-Data Library"
HOMEPAGE="http://github.com/taglib"
SRC_URI="http://taglib.github.io/releases/taglib-1.8.tar.gz"
CHECKSUM_MD5="dcb8bd1b756f2843e18b1fdf3aaeee15"
SRC_URI="http://taglib.github.io/releases/taglib-1.7.2.tar.gz"
CHECKSUM_MD5="b0a9e797d3833fb933c7c3176de3d720"
COPYRIGHT="2002-2012 Scott Wheeler"
LICENSE="GNU LGPL v2
MPL v1.1
"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86"
ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
taglib = $portVersion