ports/compat-32 (3.3): freeglut-32: 2.8.1 -> 3.0.0
commit 2617fb56c3d20c81c4f8865b43a985ad474be89d Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Jan 28 19:33:11 2017 +1100 freeglut-32: 2.8.1 -> 3.0.0 diff --git a/freeglut-32/.footprint b/freeglut-32/.footprint index 7e3ac2b..37da8f6 100644 --- a/freeglut-32/.footprint +++ b/freeglut-32/.footprint @@ -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 diff --git a/freeglut-32/.md5sum b/freeglut-32/.md5sum index 4809b3a..907eea3 100644 --- a/freeglut-32/.md5sum +++ b/freeglut-32/.md5sum @@ -1 +1 @@ -918ffbddcffbac83c218bc52355b6d5a freeglut-2.8.1.tar.gz +90c3ca4dd9d51cf32276bc5344ec9754 freeglut-3.0.0.tar.gz diff --git a/freeglut-32/Pkgfile b/freeglut-32/Pkgfile index 7ea2d0c..c98d957 100644 --- a/freeglut-32/Pkgfile +++ b/freeglut-32/Pkgfile @@ -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 }
participants (1)
-
crux@crux.nu