Add recipe for psiconv.

This commit is contained in:
Adrien Destugues
2014-10-24 10:15:56 +02:00
parent 6c5ee5d32c
commit aed8625082
2 changed files with 84 additions and 12 deletions

View File

@@ -0,0 +1,22 @@
From 9644b079de15bf191c31119eae46c5cea893fa82 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Fri, 24 Oct 2014 10:15:00 +0200
Subject: Modernize autoconf script.
diff --git a/configure.in b/configure.in
index d9591e1..d415849 100644
--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,7 @@ AC_INIT
AC_CONFIG_SRCDIR([lib/psiconv])
AM_INIT_AUTOMAKE(psiconv,0.9.8)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
dnl Checks for programs.
AM_PROG_LIBTOOL
--
1.8.3.4

View File

@@ -1,25 +1,75 @@
DESCRIPTION="psiconv"
HOMEPAGE="http://software.frodo.looijaard.name/psiconv/"
SRC_URI="http://software.frodo.looijaard.name/psiconv/files/psiconv-0.9.8.tar.gz"
SUMMARY="A conversion utility for EPOC32 (Psion) files"
DESCRIPTION="The Psion 5(MX) has several built-in applications. They use their \
own file formats to save data files. Psion has written file conversion \
utilities for Windows 95, in the form of their PsiWin program. But there are \
no conversion utilities for other operating systems. Also, Psion is not able \
to or does not want to release enough data for others to write their own \
conversion programs. At least, that is what I have gathered through the \
newsgroups and from other sources.
The Psion 5MX uses mostly the same file formats as the Psion 5; the conversion \
utilities seem to work, though you might get a few additional warnings. I own \
a 5MX myself now, so this will improve. Other Psion PDA's might be supported \
too, and even other machines running EPOC32. The Psion Series 3 uses EPOC16, \
and are not supported.
"
HOMEPAGE="http://software.frodo.looijaard.name/psiconv/"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="8d7548e3c6b9cd408544736133728acd"
LICENSE="GNU GPL v2"
COPYRIGHT="1999-2005 Frodo Looijaard"
ARCHITECTURES="x86_gcc2"
SRC_URI="${HOMEPAGE}files/psiconv-$portVersion.tar.gz"
CHECKSUM_SHA256="1eee15b29ddcbfd2d15e0a0d26f59e28bac281c870b77418fa369dceed796806"
PATCHES="psiconv-$portVersion.patchset"
PROVIDES="
psiconv = $portVersion
cmd:psiconv
cmd:psiconv_config
lib:libpsiconv = 6.4.2 compat >= 6
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:aclocal
cmd:autoconf
cmd:gcc
cmd:libtoolize
cmd:make
"
GLOBAL_WRITABLE_FILES="
settings/psiconv/psiconv.conf keep-old
settings/psiconv/psiconv.conf.eg keep-old
"
BUILD()
{
cd psiconv-0.9.8
libtoolize --force --copy --install
aclocal
autoconf
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
cd psiconv-0.9.8
make install
prepareInstalledDevelLib libpsiconv
packageEntries devel $developDir
}
LICENSE="GNU GPL v2"
COPYRIGHT="1999-2005 Frodo Looijaard"
PROVIDES_devel="
psiconv_devel = $portVersion
devel:libpsiconv = 6.4.2 compat >= 6
"
REQUIRES_devel="
psiconv == $portVersion base
"