mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Unrar: enable _devel (#4655)
This commit is contained in:
@@ -20,7 +20,7 @@ decompress the following file formats:
|
||||
HOMEPAGE="https://www.rarlab.com/rar_add.htm"
|
||||
COPYRIGHT="1993-2018 Alexander Roshal"
|
||||
LICENSE="UnRAR"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://www.rarlab.com/rar/unrarsrc-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3591685c8f5bbcb0be09de3d0a0544adb88966b9cccb80986f6cd2b534fd91a6"
|
||||
SOURCE_DIR="unrar"
|
||||
@@ -35,13 +35,20 @@ ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
PROVIDES="
|
||||
unrar = $portVersion
|
||||
cmd:unrar = $portVersion
|
||||
devel:libunrar = $portVersion
|
||||
lib:libunrar = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
unrar = $portVersion
|
||||
devel:libunrar = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
unrar == $portVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
@@ -90,9 +97,13 @@ INSTALL()
|
||||
for i in unrar lib; do
|
||||
make -C $i DESTDIR="$prefix" install-$i
|
||||
done
|
||||
install -d "$includeDir"/unrar
|
||||
install -t "$includeDir"/unrar dll.hpp
|
||||
rm "$libDir"/libunrar.a
|
||||
|
||||
prepareInstalledDevelLib libunrar
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
|
||||
addResourcesToBinaries unrar.rdef "$binDir"/unrar
|
||||
mimeset -f "$binDir"/unrar
|
||||
|
||||
Reference in New Issue
Block a user