mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
ptex, remove static library, cleanup (#8448)
This commit is contained in:
@@ -14,7 +14,7 @@ texture authoring application."
|
||||
HOMEPAGE="http://ptex.us"
|
||||
COPYRIGHT="2014 Disney Enterprises"
|
||||
LICENSE="PTEX SOFTWARE"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/wdas/ptex/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="919af3cc56a7617079757bac5c0202f4375acf21861a3990e313739e56a6142c"
|
||||
|
||||
@@ -52,19 +52,17 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. -DCMAKE_INSTALL_BINDIR=$binDir \
|
||||
-DCMAKE_INSTALL_LIBDIR=$libDir \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=$includeDir \
|
||||
-DCMAKE_INSTALL_DOCDIR=$docDir
|
||||
make $jobArgs
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
# remove static library
|
||||
rm -f $libDir/libPtex.a
|
||||
|
||||
prepareInstalledDevelLib libPtex
|
||||
|
||||
@@ -74,6 +72,5 @@ INSTALL()
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
make -C build test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user