forked from ports/contrib
tint2: updated cmake syntax
This commit is contained in:
parent
3656034d90
commit
3f519d852e
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF383grPBRNwQBWb1kaA4YT1YEnVsGckKSa7iPLAb5aTxo/q5ecpyaVGdBKCEmYzR5NHWEhSrZHUxX8WaLQgHk6As=
|
RWSagIOpLGJF3yaEZsZe8zhe8JxCmZC3cQEbmeXgFfDhjFkBj5PsriQJOYn6M2ZKV15K/F5cZGarCjj+kDoiNPV3FyjgTuL54Ag=
|
||||||
SHA256 (Pkgfile) = fa54f673cce1b660b13dc4eb43bfaa8e5d5261f3e2ccd8a23900966edd9fb236
|
SHA256 (Pkgfile) = a64417b35b861c37ae0da99599d3b6d1f138de2f6e097e6008561b8cf4fb025e
|
||||||
SHA256 (.footprint) = 24951f1f63bfdbe1e703a115da02f77fa2607eb482698b80eb6e52400b58bdfd
|
SHA256 (.footprint) = 24951f1f63bfdbe1e703a115da02f77fa2607eb482698b80eb6e52400b58bdfd
|
||||||
SHA256 (tint2-v16.7.tar.bz2) = ae2512355614014465f6aff36c98e2ed448998c44533157e4bace21c6c979f65
|
SHA256 (tint2-v16.7.tar.bz2) = ae2512355614014465f6aff36c98e2ed448998c44533157e4bace21c6c979f65
|
||||||
|
@ -9,19 +9,16 @@ release=1
|
|||||||
source=(https://gitlab.com/o9000/$name/-/archive/v$version/$name-v$version.tar.bz2)
|
source=(https://gitlab.com/o9000/$name/-/archive/v$version/$name-v$version.tar.bz2)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-v$version
|
cmake -S$name-v$version -Bbuild -GNinja \
|
||||||
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
|
|
||||||
cmake .. \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DENABLE_TINT2CONF=OFF \
|
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
||||||
-G Ninja
|
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
|
||||||
|
-Wno-dev \
|
||||||
|
-DENABLE_TINT2CONF=OFF
|
||||||
|
|
||||||
ninja -j ${JOBS:-1}
|
cmake --build build -j ${JOBS:-1}
|
||||||
DESTDIR=$PKG ninja install
|
DESTDIR=$PKG cmake --install build
|
||||||
|
|
||||||
rm -r $PKG/{etc,usr/share/doc}
|
rm -r $PKG/{etc,usr/share/doc}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user