From 2fdc3834b7ad86100994df4603e6d03adaeb7de6 Mon Sep 17 00:00:00 2001 From: augiedoggie Date: Sat, 9 Nov 2024 18:47:31 -0700 Subject: [PATCH] imagetoicon: add recipe (#11324) --- haiku-misc/imagetoicon/imagetoicon-1.0.recipe | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 haiku-misc/imagetoicon/imagetoicon-1.0.recipe diff --git a/haiku-misc/imagetoicon/imagetoicon-1.0.recipe b/haiku-misc/imagetoicon/imagetoicon-1.0.recipe new file mode 100644 index 000000000..cd6b9a16a --- /dev/null +++ b/haiku-misc/imagetoicon/imagetoicon-1.0.recipe @@ -0,0 +1,43 @@ +SUMMARY="Tracker add-on which creates BeOS style bitmap icons from images" +DESCRIPTION="To use this add-on, right click an image file from Tracker and choose 'ImageToIcon' \ +from the 'Add-ons' menu. The bitmap icons will be saved as BFS attributes of the image file that \ +was selected. They are stored using the traditional BeOS 'BEOS:L:STD_ICON' and 'BEOS:M:STD_ICON' \ +attribute names." +HOMEPAGE="https://github.com/augiedoggie/ImageToIcon" +COPYRIGHT="2002 CKJ Vincent Cedric + 2011 Chris Roberts" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://github.com/augiedoggie/ImageToIcon/archive/refs/tags/v$portVersion.tar.gz" +CHECKSUM_SHA256="6c1d071243ef236bda1ed31d93f73c9336d9287010a321a8257962f0e3baca03" +SOURCE_DIR="ImageToIcon-$portVersion" + +ARCHITECTURES="all" + +PROVIDES=" + imagetoicon = $portVersion + app:ImageToIcon + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + jamfile_engine + " +BUILD_PREREQUIRES=" + cmd:g++ + cmd:jam + " + +BUILD() +{ + BUILDHOME=/boot/system/develop jam $jobArgs +} + +INSTALL() +{ + mkdir -pv $addOnsDir/Tracker + cp -avf obj.X86/ImageToIcon $addOnsDir/Tracker/ImageToIcon +}