wok-next view freeglut/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children | 1cd7384e147d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freeglut"
4 VERSION="3.0.0"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL utility toolkit"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://freeglut.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="cmake mesa-dev glu-dev libxi-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_INSTALL_LIBDIR=lib \
24 .. &&
25 make &&
26 make install || return 1
28 chmod 644 $src/doc/*
29 cook_pick_docs $src/doc/*
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 freeglut)
35 copy @std
36 DEPENDS="mesa libx11 libxi libxxf86vm"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="freeglut mesa-dev libx11-dev libxrandr-dev \
41 libxxf86vm-dev"
42 ;;
43 esac
44 }