ports

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

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

add giflib

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

Diffstat:
libgiflib/depsinc.mk | 6++++++
libgiflib/libgiflib.mk | 14++++++++++++++
libgiflib/mkfile | 6++++++
libgiflib/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