diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-28 01:11:40 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-28 01:11:40 -0700 |
commit | a6a396f7744d63f47052d716fe1ac8f460eb6e12 (patch) | |
tree | 5c3e696bba53206e7cc4b219f2a84ddbe050cfe9 /user/mesa-demos | |
parent | ecccc0198edd54987ca118729976c595b8e87c02 (diff) | |
download | packages-a6a396f7744d63f47052d716fe1ac8f460eb6e12.tar.gz packages-a6a396f7744d63f47052d716fe1ac8f460eb6e12.tar.bz2 packages-a6a396f7744d63f47052d716fe1ac8f460eb6e12.tar.xz packages-a6a396f7744d63f47052d716fe1ac8f460eb6e12.zip |
user/mesa-demos: new package
Diffstat (limited to 'user/mesa-demos')
-rw-r--r-- | user/mesa-demos/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/mesa-demos/APKBUILD b/user/mesa-demos/APKBUILD new file mode 100644 index 000000000..9d2b4627d --- /dev/null +++ b/user/mesa-demos/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Dan Theisen <djt@hxx.in> +pkgname=mesa-demos +pkgver=8.3.0 +pkgrel=0 +pkgdesc="Mesa demos and utils" +url="http://mesa3d.org" +arch="all" +license="X11" +options="!check" # No testsuite +makedepends="mesa-dev glew-dev glu-dev freeglut-dev freetype-dev libtool" +source="ftp://ftp.freedesktop.org/pub/mesa/demos/$pkgver/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$builddir" + export LDFLAGS="$LDFLAGS -Wl,-z,lazy" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr + make V=1 +} + +package() { + cd "$builddir" + make -j1 DESTDIR="$pkgdir" install +} + +sha512sums="9ba96980306953f7b72745063e75809fb8399bbd5fc58fca96290a8b4e61741bb82fb6171311eddf249ea12face83d7c7b087e6dade6833699a8d220fc752e3f mesa-demos-8.3.0.tar.bz2" |