mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Archiver: create recipe (#1969)
This commit is contained in:
46
haiku-apps/archiver/archiver-1.0.0.recipe
Normal file
46
haiku-apps/archiver/archiver-1.0.0.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
SUMMARY="An archiving/compression application for Haiku"
|
||||
DESCRIPTION="Archiver, an archiving/compression application that uses zip."
|
||||
APP="Archiver"
|
||||
HOMEPAGE="https://github.com/HaikuArchives/$APP"
|
||||
COPYRIGHT="2002 Marcin 'Shard' Konicki"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
COMMIT="3a9361a6214734293c65849b77b4f62d6242b749"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/$APP/archive/$COMMIT.tar.gz"
|
||||
CHECKSUM_SHA256="ca224148993da6614baa53d2a4e02e96213cd01ec300487eaa6418bc24cb7c3a"
|
||||
SOURCE_DIR="$APP-$COMMIT"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 !x86_64"
|
||||
|
||||
PROVIDES="
|
||||
archiver = $portVersion
|
||||
app:$APP = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:zip
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:g++
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make -C Source OBJ_DIR=objects $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -d $appsDir
|
||||
install -t $appsDir Source/objects/$APP
|
||||
addAppDeskbarSymlink $appsDir/$APP
|
||||
|
||||
install -d $addOnsDir/Tracker
|
||||
install -t $addOnsDir/Tracker Source/objects/$APP
|
||||
}
|
||||
Reference in New Issue
Block a user