diff --git a/haiku-misc/vcardpeople/licenses/VCard b/haiku-misc/vcardpeople/licenses/VCard new file mode 100644 index 000000000..750e8ae86 --- /dev/null +++ b/haiku-misc/vcardpeople/licenses/VCard @@ -0,0 +1,4 @@ +You are permitted to use this code for any purpose, provided that +the original author is acknowledged. +No warranty as to fitness for any particular purpose, nor responsibility +for any consequential damage, is expressed or implied. diff --git a/haiku-misc/vcardpeople/vcardpeople-1.0.1.recipe b/haiku-misc/vcardpeople/vcardpeople-1.0.1.recipe new file mode 100644 index 000000000..5c02bb915 --- /dev/null +++ b/haiku-misc/vcardpeople/vcardpeople-1.0.1.recipe @@ -0,0 +1,63 @@ +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="x86_gcc2 ?x86 x86_64" + +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 +}