freeglut-32: 2.8.1 -> 3.0.0

This commit is contained in:
Danny Rawlins 2017-01-28 19:33:11 +11:00
parent 9c0a0e5f2b
commit 2617fb56c3
3 changed files with 24 additions and 18 deletions

View File

@ -1,7 +1,8 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib32/
-rw-r--r-- root/root usr/lib32/libglut.a
-rwxr-xr-x root/root usr/lib32/libglut.la
lrwxrwxrwx root/root usr/lib32/libglut.so -> libglut.so.3.9.0
lrwxrwxrwx root/root usr/lib32/libglut.so.3 -> libglut.so.3.9.0
-rwxr-xr-x root/root usr/lib32/libglut.so.3.9.0
lrwxrwxrwx root/root usr/lib32/libglut.so -> libglut.so.3
lrwxrwxrwx root/root usr/lib32/libglut.so.3 -> libglut.so.3.10.0
-rwxr-xr-x root/root usr/lib32/libglut.so.3.10.0
drwxr-xr-x root/root usr/lib32/pkgconfig/
-rw-r--r-- root/root usr/lib32/pkgconfig/freeglut.pc

View File

@ -1 +1 @@
918ffbddcffbac83c218bc52355b6d5a freeglut-2.8.1.tar.gz
90c3ca4dd9d51cf32276bc5344ec9754 freeglut-3.0.0.tar.gz

View File

@ -1,21 +1,26 @@
# Description: a free alternative to the OpenGL Utility Toolkit (GLUT) library
# URL: http://freeglut.sourceforge.net
# URL: https://freeglut.sourceforge.net
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: glu-32 xorg-libxi-32 freeglut
# Depends on: glu-32 xorg-libxi-32 freeglut xorg-libxxf86vm-32
name=freeglut-32
version=2.8.1
version=3.0.0
release=1
source=(http://download.sourceforge.net/freeglut/freeglut-$version.tar.gz)
source=(https://download.sourceforge.net/freeglut/freeglut-$version.tar.gz)
build() {
cd freeglut-$version
sed -i -e '/^SUBDIRS =/s/progs //' Makefile.in
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--disable-warnings \
--disable-dependency-tracking
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/include
cd freeglut-$version
install -d build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib32 \
-DCMAKE_BUILD_TYPE=Release
make
make DESTDIR=$PKG install
rm -r $PKG/usr/include
}