mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
deark: new recipe (#9671)
Co-authored-by: Alex Brown <mail@alexbrown.info>
This commit is contained in:
49
app-misc/deark/deark-1.6.5.recipe
Normal file
49
app-misc/deark/deark-1.6.5.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="Utility to extract data from various file formats"
|
||||
DESCRIPTION="Deark is a command-line utility that can decode certain types of files, and either:
|
||||
|
||||
1. convert them to a more-modern or more-readable format; or
|
||||
2. extract embedded files from them"
|
||||
HOMEPAGE="https://entropymine.com/deark/
|
||||
https://github.com/jsummers/deark"
|
||||
COPYRIGHT="2023 Jason Summers"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/jsummers/deark/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="2aa29675c0b326c5242da2c5e4b1d7746f2aad7bcc9bfefa73448e580e9fae2c"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
deark$secondaryArchSuffix = $portVersion
|
||||
cmd:deark = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
help2man$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:help2man
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make
|
||||
make man
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $prefix/bin
|
||||
mkdir -p $manDir/man1
|
||||
|
||||
make DEARK_INSTALLDIR=$prefix/bin install
|
||||
cp deark.1 $manDir/man1
|
||||
}
|
||||
Reference in New Issue
Block a user