mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
httrack: cleanup recipe
This commit is contained in:
@@ -12,7 +12,7 @@ HTTrack is fully configurable, and has an integrated help system."
|
||||
HOMEPAGE="https://www.httrack.com/"
|
||||
COPYRIGHT="Xavier Roche"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://mirror.httrack.com/httrack-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3477a0e5568e241c63c9899accbfcdb6aadef2812fcce0173688567b4c7d4025"
|
||||
SOURCE_DIR="httrack-$portVersion"
|
||||
@@ -41,6 +41,11 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
@@ -53,26 +58,27 @@ REQUIRES_devel="
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libssl$secondaryArchSuffix
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:gawk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export LIBS="-lnetwork -liconv"
|
||||
runConfigure ./configure --bindir=$commandBinDir
|
||||
runConfigure ./configure \
|
||||
--bindir=$commandBinDir \
|
||||
--enable-static=no \
|
||||
--enable-https=yes
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -80,8 +86,8 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -rf $libDir/*.{la,a} \
|
||||
$libDir/httrack/*.{la,a} \
|
||||
rm -rf $libDir/*.la \
|
||||
$libDir/httrack/*.la \
|
||||
$prefix/share
|
||||
|
||||
prepareInstalledDevelLibs libhttrack libhtsjava
|
||||
|
||||
Reference in New Issue
Block a user