mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
bitlbee, switch to python3.9, cleanup (#8516)
This commit is contained in:
@@ -12,7 +12,7 @@ LICENSE="GNU GPL v2
|
||||
BSD (2-clause)
|
||||
GNU LGPL v2.1
|
||||
GNU FDL v1.1"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/bitlbee/bitlbee/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="741c139ed65c92227401bed344a03c8674536426cd4fdfc12e6406b8622a7c29"
|
||||
SOURCE_FILENAME="bitlbee-$portVersion.tar.gz"
|
||||
@@ -32,7 +32,6 @@ fi
|
||||
PROVIDES="
|
||||
bitlbee$secondaryArchSuffix = $portVersion
|
||||
cmd:bitlbee$commandSuffix = $portVersion
|
||||
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -70,7 +69,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python2
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
@@ -85,6 +84,7 @@ BUILD()
|
||||
{
|
||||
export CFLAGS="-D_BSD_SOURCE -DB_USE_POSITIVE_POSIX_ERRORS"
|
||||
export LDFLAGS="-lnetwork -lposix_error_mapper -lbsd"
|
||||
export PYTHON="python3"
|
||||
runConfigure --omit-dirs "binDir sbinDir" ./configure \
|
||||
--bindir=$commandBinDir \
|
||||
--sbindir=$commandBinDir \
|
||||
@@ -114,10 +114,12 @@ INSTALL()
|
||||
# prepare develop/lib
|
||||
fixPkgconfig
|
||||
|
||||
# clean empty libDir
|
||||
rmdir $libDir
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
|
||||
Reference in New Issue
Block a user