freeglut: adopted port
This commit is contained in:
parent
08782313a7
commit
f0693bf845
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/dSLwMBHam/kjhrGI3d9mrVbJEGt8P8lmJ+EzMUVuMgLRB+x3dBLVcS1afnHXcWRZqD7k3yCUGz+G0GupDl53g0=
|
||||
SHA256 (Pkgfile) = efa781a0a100d3ad7c5efda2afa02561f2c21fd7e9bf93e8d2606853800502da
|
||||
RWSE3ohX2g5d/Z58r1C50Uqd2d9O3WBUkUhEqZXwupKld5/1vwBL+ToNIAD8yW1xIdvf/ZB9NKGYbIGcDKNerorswdrzpSIPjAA=
|
||||
SHA256 (Pkgfile) = 2140ceaefaf1b8e6dd9e8f2c5d3f42edf520253b1e1e511de4d6a68a462d71fd
|
||||
SHA256 (.footprint) = 38132fb1b4f7cb5e7f6183fb3420023aa4affccfe1776feb99ad76071ed7cd1a
|
||||
SHA256 (freeglut-3.4.0.tar.gz) = 3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Description: A free alternative to the OpenGL Utility Toolkit (GLUT) library.
|
||||
# Description: A free alternative to the OpenGL Utility Toolkit (GLUT) library
|
||||
# URL: http://freeglut.sourceforge.net/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: glu xorg-libxi
|
||||
|
||||
name=freeglut
|
||||
@ -9,13 +9,16 @@ release=1
|
||||
source=(https://downloads.sourceforge.net/$name/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -S$name-$version -Bbuild -GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
cmake -S $name-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
ln -s glut.pc $PKG/usr/lib/pkgconfig/freeglut.pc
|
||||
ln -s glut.pc $PKG/usr/lib/pkgconfig/freeglut.pc
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user