mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libftdi, disable static library (#8038)
This commit is contained in:
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.intra2net.com/en/developer/libftdi/index.php"
|
||||
COPYRIGHT="2003-2020 Intra2net AG and the libftdi developers"
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://www.intra2net.com/en/developer/libftdi/download/libftdi1-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="7c7091e9c86196148bd41177b4590dccb1510bfe6cea5bf7407ff194482eb049"
|
||||
SOURCE_DIR="libftdi1-$portVersion"
|
||||
@@ -60,24 +60,20 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$prefix \
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
-DEXAMPLES=OFF \
|
||||
-DFTDIPP=ON \
|
||||
-DLIB_SUFFIX=$secondaryArchSubDir \
|
||||
-DINC_SUFFIX=$secondaryArchSubDir \
|
||||
-DCMAKE_INSTALL_DOCDIR=$docDir \
|
||||
..
|
||||
make
|
||||
-DSTATICLIBS=OFF
|
||||
make -C build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
make -C build install
|
||||
prepareInstalledDevelLibs libftdi1 libftdipp1
|
||||
fixPkgconfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user