aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 20:59:19 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 23:32:57 -0300
commit3520952c8f58bed200c585d5d28dc3477b819868 (patch)
tree6ff667998988dfa84e805ca91225e6e71c344b48
parentf6582b79fea05249a109c2506cbdba0604b23ab7 (diff)
downloadaports-3520952c8f58bed200c585d5d28dc3477b819868.tar.gz
aports-3520952c8f58bed200c585d5d28dc3477b819868.tar.bz2
aports-3520952c8f58bed200c585d5d28dc3477b819868.tar.xz
community/freeglut: modernize, fix license=
-rw-r--r--community/freeglut/APKBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/community/freeglut/APKBUILD b/community/freeglut/APKBUILD
index 509be4b48c..36e29f08b7 100644
--- a/community/freeglut/APKBUILD
+++ b/community/freeglut/APKBUILD
@@ -2,19 +2,18 @@
# Maintainer:
pkgname=freeglut
pkgver=3.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="free reimplementation of OpenGL Utility Toolkit (GLUT) library"
url="http://freeglut.sourceforge.net/"
arch="all"
options="!check" # No test suite.
-license="Custom"
+license="MIT"
depends_dev="mesa-dev libx11-dev libice-dev libxxf86vm-dev libxi-dev glu-dev"
makedepends="$depends_dev cmake"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/freeglut/freeglut-$pkgver.tar.gz"
build() {
- cd "$builddir"
cmake . \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -24,11 +23,8 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
- install -m644 -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-
# Symlink glut.pc to freeglut.pc for backwards compatibility
ln -s glut.pc "$pkgdir"/usr/lib/pkgconfig/freeglut.pc
}