Files
haikuports/haiku-misc/imagetoicon/imagetoicon-1.0.recipe
2024-11-09 18:58:26 -07:00

46 lines
1.2 KiB
Bash

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()
{
# attempt to make jam happy on the buildmaster by creating the object directory
mkdir -pv obj.X86
BUILDHOME=/boot/system/develop jam $jobArgs
}
INSTALL()
{
mkdir -pv $addOnsDir/Tracker
cp -avf obj.X86/ImageToIcon $addOnsDir/Tracker/ImageToIcon
}