mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
54 lines
1.3 KiB
Bash
54 lines
1.3 KiB
Bash
SUMMARY="StormLib MPQ archiving utility"
|
|
DESCRIPTION="SMPQ is StormLib MPQ archiving utility. This utility is designed for full \
|
|
manipulation of Blizzard MPQ archives."
|
|
HOMEPAGE="https://launchpad.net/smpq"
|
|
COPYRIGHT="2010-2025 Pali"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://launchpad.net/smpq/trunk/$portVersion/+download/smpq_$portVersion.orig.tar.gz"
|
|
CHECKSUM_SHA256="b9f99f13b31adaa792e320a02a405a322cb7669ad484781bf2fffeffbf749de2"
|
|
SOURCE_DIR="smpq-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
smpq$secondaryArchSuffix = $portVersion
|
|
cmd:smpq = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libstorm$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libstorm$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
devel:libzip$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release -DWITH_KDE=OFF
|
|
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $prefix/bin && cp -t $prefix/bin build/smpq
|
|
|
|
# Pack docs
|
|
mkdir -p $manDir/man1 && cp -t $manDir/man1 build/smpq.1
|
|
mkdir -p $docDir && cp -rt $docDir AUTHORS CHANGELOG README
|
|
}
|