27 lines
988 B
27 lines
988 B
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../lib3ds/lib3ds.conf |
|
# Copyright (C) 2007 The OpenSDE Project |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This program is free software; you can redistribute it and/or modify |
|
# it under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
# GNU General Public License can be found in the file COPYING. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
pkgprefix -t freeglut |
|
|
|
var_append confopt ' ' "--with-glut-cflags=-I$(pkgprefix includedir freeglut) --with-glut-libs=-L$(pkgprefix libdir freeglut)" |
|
|
|
var_append GCC_WRAPPER_APPEND ' ' "-I$(pkgprefix includedir freeglut) -L$(pkgprefix libdir freeglut)" |
|
|
|
# building 3ds to rib plugin and getting examples |
|
lib3ds_rib() { |
|
cd examples && make clean && make |
|
cp 3ds2rib $root/$bindir |
|
} |
|
|
|
hook_add postmake 9 "lib3ds_rib"
|
|
|