mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Merged haikuports/haikuports into master
This commit is contained in:
@@ -22,8 +22,8 @@ COPYRIGHT="1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
||||
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
glib$secondaryArchSuffix = $portVersion compat >= 1
|
||||
|
||||
@@ -6,8 +6,8 @@ HOMEPAGE="http://sourceware.org/libffi"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
SRC_URI="ftp://sourceware.org/pub/libffi/libffi-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37"
|
||||
|
||||
@@ -12,8 +12,8 @@ CHECKSUM_SHA256="50e8f7674815e42a6e8be32610838d9b7da91b3043784d2b69d17b79c7203e7
|
||||
COPYRIGHT="1998-1999 Andrew T. Veliath"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 ?x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86 ?x86_gcc2"
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libidl$secondaryArchSuffix = $portVersion
|
||||
@@ -23,7 +23,7 @@ PROVIDES="
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libglib
|
||||
lib:libglib$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
|
||||
54
dev-libs/libtommath/libtommath-0.42.0.recipe
Normal file
54
dev-libs/libtommath/libtommath-0.42.0.recipe
Normal file
@@ -0,0 +1,54 @@
|
||||
SUMMARY="LibTomMath is a theoretic integer library written entirely in C."
|
||||
DESCRIPTION="LibTomMath is a free open source portable number theoretic \
|
||||
multiple-precision integer library written entirely in C."
|
||||
HOMEPAGE="http://libtommath.org"
|
||||
SRC_URI="https://github.com/libtom/libtommath/archive/v0.42.0.tar.gz"
|
||||
CHECKSUM_SHA256="5246356ba18c1b6edf4a7bc836a3d223842b86914cdba6dd8c112bfc59e227c8"
|
||||
REVISION="1"
|
||||
LICENSE="Public Domain"
|
||||
COPYRIGHT="2010 Tom St. Denis"
|
||||
PATCHES="libtommath-0.42.0.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libtommath$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libtommath${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libtommath$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
libtommath$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:make
|
||||
cmd:cc
|
||||
cmd:ar
|
||||
cmd:ranlib
|
||||
cmd:install
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
export LIBPATH=$libDir
|
||||
export INCPATH=$includeDir
|
||||
make install $jobArgs
|
||||
prepareInstalledDevelLibs libtommath
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
50
dev-libs/libtommath/patches/libtommath-0.42.0.patchset
Normal file
50
dev-libs/libtommath/patches/libtommath-0.42.0.patchset
Normal file
@@ -0,0 +1,50 @@
|
||||
From f2b4b4b4aa83b658ae9a23d5195e04487a102d88 Mon Sep 17 00:00:00 2001
|
||||
From: Nolan Clark <tweakdeveloper@gmail.com>
|
||||
Date: Sat, 6 Dec 2014 16:01:50 -0600
|
||||
Subject: applying patch makefile.patch
|
||||
|
||||
|
||||
diff --git a/makefile b/makefile
|
||||
index 70de306..e3a0a04 100644
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -27,18 +27,9 @@ CFLAGS += -fomit-frame-pointer
|
||||
|
||||
endif
|
||||
|
||||
-#install as this user
|
||||
-ifndef INSTALL_GROUP
|
||||
- GROUP=wheel
|
||||
-else
|
||||
- GROUP=$(INSTALL_GROUP)
|
||||
-endif
|
||||
-
|
||||
-ifndef INSTALL_USER
|
||||
- USER=root
|
||||
-else
|
||||
- USER=$(INSTALL_USER)
|
||||
-endif
|
||||
+#install as this user and group
|
||||
+USER=user
|
||||
+GROUP=root
|
||||
|
||||
#default files to install
|
||||
ifndef LIBNAME
|
||||
@@ -49,14 +40,6 @@ default: ${LIBNAME}
|
||||
|
||||
HEADERS=tommath.h tommath_class.h tommath_superclass.h
|
||||
|
||||
-#LIBPATH-The directory for libtommath to be installed to.
|
||||
-#INCPATH-The directory to install the header files for libtommath.
|
||||
-#DATAPATH-The directory to install the pdf docs.
|
||||
-DESTDIR=
|
||||
-LIBPATH=/usr/lib
|
||||
-INCPATH=/usr/include
|
||||
-DATAPATH=/usr/share/doc/libtommath/pdf
|
||||
-
|
||||
OBJECTS=bncore.o bn_mp_init.o bn_mp_clear.o bn_mp_exch.o bn_mp_grow.o bn_mp_shrink.o \
|
||||
bn_mp_clamp.o bn_mp_zero.o bn_mp_set.o bn_mp_set_int.o bn_mp_init_size.o bn_mp_copy.o \
|
||||
bn_mp_init_copy.o bn_mp_abs.o bn_mp_neg.o bn_mp_cmp_mag.o bn_mp_cmp.o bn_mp_cmp_d.o \
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user