diff --git a/haiku-apps/filwip/filwip-2.0.0.recipe b/haiku-apps/filwip/filwip-2.0.0.recipe new file mode 100644 index 000000000..0c474a423 --- /dev/null +++ b/haiku-apps/filwip/filwip-2.0.0.recipe @@ -0,0 +1,57 @@ +SUMMARY="A tool to clean temporary and unwanted files" +DESCRIPTION="It cleans your hard disk of unwanted files such as left-over \ +temporary files, cache files of internet sessions, logs, history files and \ +the like. It works with easy to write text files that include information \ +about where the files to delete are." +HOMEPAGE="https://github.com/HaikuArchives/FilWip" +COPYRIGHT="2002 Ramshankar + 2018 HaikuArchives team" +LICENSE="SPL" +REVISION="1" +SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz" +CHECKSUM_SHA256="67ca2d8152a5458b3d5622a260c6fdc5ff2ed8ed4098b257d5a5061e7385f664" +SOURCE_DIR="FilWip-$portVersion" +ADDITIONAL_FILES="install_plugins.sh" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +USER_SETTINGS_FILES="settings/FilWip directory keep-old" +POST_INSTALL_SCRIPTS="$relativePostInstallDir/install_plugins.sh" + +PROVIDES=" + filwip = $portVersion + app:FilWip = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + cmd:xres + " + +BUILD() +{ + make $jobArgs -C Source +} + +INSTALL() +{ + docFolder=$documentationDir/packages/filwip + + mkdir -p $appsDir $dataDir/FilWip $documentationDir/packages/filwip + cp -a FilWip $appsDir + cp -rf Plugins $dataDir/FilWip + cp -rf Docs/* $documentationDir/packages/filwip + + addAppDeskbarSymlink $appsDir/FilWip + + mkdir -p $postInstallDir + cp $portDir/additional-files/install_plugins.sh $postInstallDir +}