Commit edcd23fe authored by Adrian Chaves Fernandez (Gallaecio)'s avatar Adrian Chaves Fernandez (Gallaecio)
Browse files

Added 'soil' (from the CCR where WillingMagic has uploaded it) as a dependency...

Added 'soil' (from the CCR where WillingMagic has uploaded it) as a dependency for 'sfml', which is a dependency for 'motogt'. Since I've just found out 'sfml' depends on 'gtk', I'll reupload it to the CCR and try to bondle 'motogt'.
parent bf733125
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=soil
pkgver=0708
pkgrel=1
pkgdesc="tiny C lib primarily for loading textures into OpenGL"
arch=('i686' 'x86_64')
url="http://www.lonesock.net/soil.html"
license=('custom:Public Domain')
makedepends=('unzip')
depends=('freeglut')
source=("http://www.lonesock.net/files/$pkgname.zip")
md5sums=('4736ac4f34fd9a41fa0197eac23bbc24')
build() {
cd $srcdir/"Simple OpenGL Image Library/projects/makefile"
[[ -d obj ]] && rm -r obj/
mkdir obj/
sed "s|LOCAL = /usr/local|LOCAL = $pkgdir/usr|g" -i makefile
sed "s|CXXFLAGS = |CXXFLAGS = -fPIC |g" -i makefile
mkdir -p $pkgdir/usr/{lib,include}
make
}
package() {
cd $srcdir/"Simple OpenGL Image Library/projects/makefile"
make install
chmod 644 $pkgdir/usr/lib/libSOIL.a
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment