summaryrefslogtreecommitdiff
path: root/community/glee
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/glee
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/glee')
-rw-r--r--community/glee/Makefile55
-rw-r--r--community/glee/PKGBUILD31
-rw-r--r--community/glee/glee.pc12
3 files changed, 0 insertions, 98 deletions
diff --git a/community/glee/Makefile b/community/glee/Makefile
deleted file mode 100644
index 06425fd82..000000000
--- a/community/glee/Makefile
+++ /dev/null
@@ -1,55 +0,0 @@
-all: libGLee.so
-
-MAJOR=5
-MINOR=4
-
-SOURCES = $(shell find . -name "*.c")
-
-SHARED_OBJS = $(SOURCES:.c=.shared.o)
-STATIC_OBJS = $(SOURCES:.c=.static.o)
-
-EXTRA_CFLAGS= $(CFLAGS)
-SHARED_CFLAGS= -Wall $(EXTRA_CFLAGS) -fPIC
-
-LDFLAGS= -Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined
-EXTRA_LDFLAGS=
-LIBS=-lGL
-EXTRA_LIBS=
-
-libGLee.so.$(MAJOR).$(MINOR): $(SHARED_OBJS)
- g++ $(LDFLAGS) $(EXTRA_LDFLAGS) -shared \
- -Wl,-soname,libGLee.so.$(MAJOR) \
- -o libGLee.so.$(MAJOR).$(MINOR) \
- $+ -o $@ $(EXTRA_LIBS) $(LIBS)
-
-libGLee.so: libGLee.so.$(MAJOR).$(MINOR)
- rm -f $@.$(MAJOR)
- ln -s $@.$(MAJOR).$(MINOR) $@.$(MAJOR)
- rm -f $@
- ln -s $@.$(MAJOR) $@
-
-%.shared.o: %.cpp
- g++ -o $@ -c $+ $(SHARED_CFLAGS)
-
-%.shared.o: %.c
- gcc -o $@ -c $+ $(SHARED_CFLAGS)
-
-%.so : %.o
- g++ $(LDFLAGS) $(EXTRA_LDFLAGS) -shared $^ -o $@
-
-clean:
- rm -f $(SHARED_OBJS)
- rm -f $(FIXED_OBJS)
- rm -f *.so *.so* *~
-
-DESTDIR=
-
-install: libGLee.so
- install -d "$(DESTDIR)/usr/lib/"
- cp -a *.so* "$(DESTDIR)/usr/lib/"
- install -d "$(DESTDIR)/usr/include/"
- install -Dm644 *.h "$(DESTDIR)/usr/include/"
- install -d "$(DESTDIR)/usr/lib/pkgconfig/"
- install -Dm644 glee.pc "$(DESTDIR)/usr/lib/pkgconfig/"
- install -d "$(DESTDIR)/usr/share/licenses/glee"
- sed '9,32!d' readme.txt > "$(DESTDIR)/usr/share/licenses/glee/LICENSE"
diff --git a/community/glee/PKGBUILD b/community/glee/PKGBUILD
deleted file mode 100644
index 4f89ad918..000000000
--- a/community/glee/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 86549 2013-03-19 04:49:29Z speps $
-# Maintainer : speps <speps at aur dot archlinux dot org>
-
-pkgname=glee
-pkgver=5.4.0
-pkgrel=1
-pkgdesc="Free cross-platform extension loading library for OpenGL"
-arch=('i686' 'x86_64')
-url="http://elf-stone.com/glee.php"
-license=('custom:BSD')
-depends=('gcc-libs' 'libgl')
-makedepends=('mesa')
-#source=("http://elf-stone.com/downloads/GLee/GLee-$pkgver-src.tar.gz")
-md5sums=('0bd03db136dbc075488b6c6e83f326ae'
- '937a48856486291070943488fa2824d0'
- 'b59e8d11402fb2ee6c4a92bf6916b3aa')
-_spkg=GLee-$pkgver-src.tar.gz
-source=("http://pkgs.fedoraproject.org/repo/pkgs/GLee/$_spkg/$md5sums/$_spkg"
- glee.pc Makefile) # implement FS#32670 + fix TEXTREL for i686
-
-build() {
- cd "$srcdir"
- make
-}
-
-package() {
- cd "$srcdir"
- make DESTDIR="$pkgdir/" install
-}
-
-# vim:set ts=2 sw=2 et: \ No newline at end of file
diff --git a/community/glee/glee.pc b/community/glee/glee.pc
deleted file mode 100644
index 0f03b450a..000000000
--- a/community/glee/glee.pc
+++ /dev/null
@@ -1,12 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
-
-Name: GLee
-Description: GL Easy Extension library
-Version: 5.4.0
-Requires:
-Conflicts:
-Libs: -L${libdir} -lglee
-Cflags: -I${includedir}