mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
64 lines
1.4 KiB
Bash
64 lines
1.4 KiB
Bash
SUMMARY="Utilities to convert between VCard and BeOS 'Person' files"
|
|
DESCRIPTION="The VCard format is an open standard used for storing and \
|
|
interchanging personal (\"Business Card\") data by applications on many \
|
|
platforms. The two small programs in this package will convert between this \
|
|
format and BeOS 'Person' files, making it possible to share contact data \
|
|
between BeOS and other platforms."
|
|
HOMEPAGE="http://goodeveca.net/beos/"
|
|
COPYRIGHT="2002 Peter J. Goodeve"
|
|
LICENSE="VCard"
|
|
REVISION="1"
|
|
SOURCE_URI="http://goodeveca.net/beos/vcardpeople.zip"
|
|
CHECKSUM_SHA256="ec46db14a069dbcec2d524b773b3d8043f056c77c1d7cccce8b6ce6504738f31"
|
|
SOURCE_FILENAME="vcardpeople-$portVersion.zip"
|
|
SOURCE_DIR="VCard-People"
|
|
|
|
ARCHITECTURES="all ?x86"
|
|
|
|
PROVIDES="
|
|
vcardpeople = $portVersion
|
|
cmd:people2vcard = $portVersion
|
|
cmd:vcard2people = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
defineDebugInfoPackage vcardpeople \
|
|
$binDir/people2vcard \
|
|
$binDir/vcard2people
|
|
|
|
PATCH()
|
|
{
|
|
sed -i \
|
|
-e "s|/boot/develop/etc/makefile-engine|`findpaths -r \
|
|
"makefile_engine" \
|
|
B_FIND_PATH_DEVELOP_DIRECTORY`/etc/makefile-engine|" \
|
|
SOURCE/*/Makefile
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
export LD=g++
|
|
make -C SOURCE/PEOPLE_VCARD $jobArgs
|
|
make -C SOURCE/VCARD_PEOPLE $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
export INSTALL_DIR=$binDir
|
|
make -C SOURCE/PEOPLE_VCARD install
|
|
make -C SOURCE/VCARD_PEOPLE install
|
|
}
|