/
libsanta-3.0.1.recipe
63 lines (53 loc) · 1.67 KB
/
libsanta-3.0.1.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
SUMMARY="Deprecated custom widget library"
DESCRIPTION="Santa's Gift Bag has some useful custom widgets \
(color picker, column list view, scroll view etc.) DO NOT use for new \
applications! Use libwalter or Haiku's experimental widgets (libshared). \
This package only exists for applications that have not yet been migrated."
HOMEPAGE="https://github.com/HaikuArchives/SantasGiftBag"
COPYRIGHT="1997-2000 Brian Tietz"
LICENSE="libsanta"
REVISION="2"
SOURCE_URI="https://github.com/HaikuArchives/SantasGiftBag/archive/41e3b43058acb99959582187d31495cfbb8435f3.tar.gz"
CHECKSUM_SHA256="1c5ff2b0b3e2e81bbd99b226313ebf74f29fc969046bf1cf1f929bbfcb9ca763"
SOURCE_DIR="SantasGiftBag-41e3b43058acb99959582187d31495cfbb8435f3"
PATCHES="libsanta-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libsanta$secondaryArchSuffix = $portVersion
lib:libsanta$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libsanta${secondaryArchSuffix}_devel = $portVersion
devel:libsanta$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libsanta$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
make OBJ_DIR=objects $jobArgs
}
INSTALL()
{
mkdir -p $developDocDir/ $includeDir $libDir
cp -R docs/* $developDocDir/
cp objects/libsanta.so $libDir/libsanta.so.3.0.1
ln -s $libDir/libsanta.so.3.0.1 $libDir/libsanta.so.3
ln -s $libDir/libsanta.so.3.0.1 $libDir/libsanta.so
cp -R include/. $includeDir/
packageEntries devel \
$developDir
}