ports

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

commit 9caf44d3887c9f3c141fced325c731c03ea9348f
parent 0e06f8d73e16af5e55e7af62b6a56b2a44bbe861
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat Jul  5 20:35:42 +0000

add optipng

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

Diffstat:
optipng/checksums | 1+
optipng/mkfile | 6++++++
optipng/optipng.mk | 18++++++++++++++++++
optipng/v.mk | 1+
4 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/optipng/checksums b/optipng/checksums @@ -0,0 +1 @@ +6f319965739235387e99244dda5f52533e22b7040301cf680180e383f24361819f66cb3adf1a90923e9509ed08d55bbe442ec363310c385fcf70f551febfbb6f optipng-0.7.5.tar.gz diff --git a/optipng/mkfile b/optipng/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = optipng-$v +url = http://garr.dl.sourceforge.net/project/optipng/OptiPNG/optipng-$v/optipng-$v.tar.gz +mkfile = ../optipng.mk diff --git a/optipng/optipng.mk b/optipng/optipng.mk @@ -0,0 +1,18 @@ +TARG = optipng +DEPS = libpng zlib + +<$mkbuild/mk.common-noinst + +optipng:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + CC="$CC" ./configure \ + -prefix="$PREFIX" \ + -mandir="$ROOT/share/man" \ + -with-system-libs \ + -with-system-libpng \ + -with-system-zlib + make -j$nprocs + +install:QV: + make -j$nprocs install DESTDIR="$ROOT" diff --git a/optipng/v.mk b/optipng/v.mk @@ -0,0 +1 @@ +v = 0.7.5