ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit 3737839fa37b1ecae0eb5fd6b89d7839cd567ece
parent 47f2b42e07d4fd5098f42a5a81d7ebcc2d5d5186
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  2 May 2014 20:06:59 +0000

add giflib

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Alibgiflib/depsinc.mk | 6++++++
Alibgiflib/libgiflib.mk | 14++++++++++++++
Alibgiflib/mkfile | 6++++++
Alibgiflib/v.mk | 1+
4 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/libgiflib/depsinc.mk b/libgiflib/depsinc.mk @@ -0,0 +1,6 @@ +<$libgiflib_DEPDIR/v.mk + +libgiflib_libdir = $libgiflib_DEPDIR/giflib-$v/lib/lib +libgiflib_includedir = $libgiflib_DEPDIR/giflib-$v/lib/include +DEPS_CFLAGS = $DEPS_CFLAGS -I${libgiflib_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${libgiflib_libdir} -lgif diff --git a/libgiflib/libgiflib.mk b/libgiflib/libgiflib.mk @@ -0,0 +1,14 @@ +TARG = libgiflib + +<$mkbuild/mk.common-noinst + +libgiflib:QV: + CC="${CC} -static" ./configure \ + --prefix="$prefix" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static + # make and install. + make -j$nprocs install DESTDIR=`pwd`/lib + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/libgiflib/mkfile b/libgiflib/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = giflib-$v +url = http://cznic.dl.sourceforge.net/project/giflib/giflib-5.x/giflib-$v.tar.gz +mkfile = ../libgiflib.mk diff --git a/libgiflib/v.mk b/libgiflib/v.mk @@ -0,0 +1 @@ +v = 5.0.0