mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Convert/update libgpg_error to working recipe
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="libgpg-error"
|
||||
HOMEPAGE="http://www.gnupg.org/related_software/libraries.en.html#lib-libgpg-error"
|
||||
SRC_URI="ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="gettext = 0.18.1.1-dev"
|
||||
CHECKSUM_MD5="736a03daa9dc5873047d4eb4a9c22a16"
|
||||
BUILD()
|
||||
{
|
||||
cd libgpg-error-1.10
|
||||
cd po
|
||||
touch t-cs.gmo t-de.gmo t-fr.gmo t-it.gmo t-nl.gmo \
|
||||
t-pl.gmo t-ro.gmo t-sv.gmo t-vi.gmo t-zh_CN.gmo
|
||||
cd ..
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
|
||||
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libgpg-error-1.10
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2003-2010 g10 Code GmbH"
|
||||
62
dev-libs/libgpg_error/libgpg_error-1.12.recipe
Normal file
62
dev-libs/libgpg_error/libgpg_error-1.12.recipe
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY="A library that defines common error values"
|
||||
DESCRIPTION="
|
||||
This is a library that defines common error values for all GnuPG
|
||||
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
|
||||
Libksba, DirMngr, Pinentry, SmartCard Daemon and more.
|
||||
"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2003-2013 g10 Code GmbH"
|
||||
HOMEPAGE="http://www.gnupg.org/related_software/libraries.en.html#lib-libgpg-error"
|
||||
SRC_URI="ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.12.tar.bz2"
|
||||
REVISION="1"
|
||||
CHECKSUM_MD5="8f0eb41a344d19ac2aa9bd101dfb9ce6"
|
||||
ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libgpg_error = $portVersion compat >= 1.12
|
||||
lib:libgpg_error = $portVersion compat >= 1.12
|
||||
cmd:gpg_error = $portVersion compat >= 1.12
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libgpg_error_devel = $portVersion compat >= 1.12
|
||||
cmd:gpg_error_config = $portVersion compat >= 1.12
|
||||
devel:libgpg_error = $portVersion compat >= 1.12
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libgpg_error == $portVersion
|
||||
"
|
||||
|
||||
SOURCE_DIR="libgpg-error-1.12"
|
||||
|
||||
PATCHES="libgpg_error-1.12.patch"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libgpg-error
|
||||
|
||||
packageEntries devel \
|
||||
$developDir $binDir/gpg-error-config
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
DESCRIPTION="libgpg-error"
|
||||
HOMEPAGE="http://www.gnupg.org/related_software/libraries.en.html#lib-libgpg-error"
|
||||
SRC_URI="ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="untested"
|
||||
DEPEND=""
|
||||
CHECKSUM_MD5="62c0d09d1e76c5b6da8fff92314c4665"
|
||||
BUILD()
|
||||
{
|
||||
cd libgpg-error-1.7
|
||||
autoreconf -vfi -Im4
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libgpg-error-1.7
|
||||
make install
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
--- libgpg-error-1.10/src/mkerrcodes2.awk 2008-08-26 12:45:58.010747904 +0000
|
||||
+++ libgpg-error-1.10-haiku/src/mkerrcodes2.awk 2012-04-09 16:59:18.363855872 +0000
|
||||
--- libgpg-error-1.12/src/mkerrcodes2.awk 2008-08-26 12:45:58.010747904 +0000
|
||||
+++ libgpg-error-1.12-haiku/src/mkerrcodes2.awk 2012-04-09 16:59:18.363855872 +0000
|
||||
@@ -81,7 +81,7 @@
|
||||
/^#/ { next; }
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -Naur libgpg-error-1.7-orig/src/mkerrcodes2.awk libgpg-error-1.7/src/mkerrcodes2.awk
|
||||
--- libgpg-error-1.7-orig/src/mkerrcodes2.awk 2009-03-08 16:04:38.000000000 +0000
|
||||
+++ libgpg-error-1.7/src/mkerrcodes2.awk 2009-03-08 15:50:42.000000000 +0000
|
||||
@@ -81,7 +81,7 @@
|
||||
/^#/ { next; }
|
||||
|
||||
header {
|
||||
- if ($1 ~ /^[0123456789]+$/)
|
||||
+ if ($1 ~ /^-?[0123456789]+$/)
|
||||
{
|
||||
print "static const int err_code_from_index[] = {";
|
||||
header = 0;
|
||||
Reference in New Issue
Block a user