diff --git a/haiku-libs/libsanta/libsanta-3.0.0.recipe b/haiku-libs/libsanta/libsanta-3.0.0.recipe deleted file mode 100644 index 263236e6e..000000000 --- a/haiku-libs/libsanta/libsanta-3.0.0.recipe +++ /dev/null @@ -1,78 +0,0 @@ -SUMMARY="Deprecated custom widget library." -DESCRIPTION="Santa's Gift Bag has some useful custom widgets \ -(color picker, column list view, scroll view etc.) NOT recommended \ -for new apps! Use libwalter or Haiku's built-in widgets. \ -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" -SRC_URI="https://github.com/HaikuArchives/SantasGiftBag/archive/549bc8cf67cb52cd8614c28b35e501a7d9adbeb7.zip" -CHECKSUM_SHA256="14cc50b0ea94deb714de6a9b39749d046679fc5ca1d5cab5500f48c32345ac7b" -SOURCE_DIR="SantasGiftBag-549bc8cf67cb52cd8614c28b35e501a7d9adbeb7" -REVISION="4" -ARCHITECTURES="x86_gcc2 x86 ?x86_64" -SECONDARY_ARCHITECTURES="x86_gcc2 x86" - -PROVIDES=" - libsanta$secondaryArchSuffix = $portVersion - lib:libsanta$secondaryArchSuffix = $portVersion - " - -REQUIRES=" - haiku$secondaryArchSuffix >= $haikuVersion - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel >= $haikuVersion - " - -BUILD_PREREQUIRES=" - makefile_engine - cmd:gcc$secondaryArchSuffix - cmd:ld$secondaryArchSuffix - cmd:make - cmd:mkdepend - " - -PROVIDES_devel=" - libsanta${secondaryArchSuffix}_devel = $portVersion - devel:libsanta$secondaryArchSuffix = $portVersion - " - -REQUIRES_devel=" - libsanta$secondaryArchSuffix == $portVersion base - " - -BUILD() -{ - make OBJ_DIR=objects $jobArgs -} - -INSTALL() -{ - mkdir -p $developLibDir $developDocDir $includeDir/santa $libDir - - cp -R Documentation/* $developDocDir - - cp objects/libsanta.so $libDir/libsanta.so.3.0.0 - ln -s $libDir/libsanta.so.3.0.0 $libDir/libsanta.so.3 - ln -s $libDir/libsanta.so.3.0.0 $libDir/libsanta.so - - cp ./BetterScrollView/BetterScrollView.h \ - ./Colors.h \ - ./ColumnListView/CLVColumn.h \ - ./ColumnListView/CLVColumnLabelView.h \ - ./ColumnListView/CLVEasyItem.h \ - ./ColumnListView/CLVListItem.h \ - ./ColumnListView/ColumnListView.h \ - ./Cursors/Cursors.h \ - ./NewStrings/NewStrings.h \ - ./PrefilledBitmap/PrefilledBitmap.h \ - ./ScrollViewCorner/ScrollViewCorner.h $includeDir/santa - - packageEntries devel \ - $developLibDir \ - $developDocDir \ - $includeDir -} diff --git a/haiku-libs/libsanta/libsanta-3.0.1.recipe b/haiku-libs/libsanta/libsanta-3.0.1.recipe new file mode 100644 index 000000000..cce9fbd2a --- /dev/null +++ b/haiku-libs/libsanta/libsanta-3.0.1.recipe @@ -0,0 +1,65 @@ +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" +SRC_URI="https://github.com/HaikuArchives/SantasGiftBag/archive/41e3b43058acb99959582187d31495cfbb8435f3.tar.gz" +CHECKSUM_SHA256="1c5ff2b0b3e2e81bbd99b226313ebf74f29fc969046bf1cf1f929bbfcb9ca763" +SOURCE_DIR="SantasGiftBag-41e3b43058acb99959582187d31495cfbb8435f3" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + libsanta$secondaryArchSuffix = $portVersion + lib:libsanta$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" + makefile_engine + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + cmd:mkdepend + " + +PROVIDES_devel=" + libsanta${secondaryArchSuffix}_devel = $portVersion + devel:libsanta$secondaryArchSuffix = $portVersion + " + +REQUIRES_devel=" + libsanta$secondaryArchSuffix == $portVersion base + " + +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 +}