ports

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

commit 882ef9416fcff3fba1cf1d3e0b30b5fab17fa0ad
parent cfb06e7b332f7dff68bfc9ff7729f787a549951a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 21 Jul 2014 21:37:33 +0000

add quvi and friends

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

Diffstat:
Alibquvi/checksums | 1+
Alibquvi/depsinc.mk | 11+++++++++++
Alibquvi/libquvi.mk | 32++++++++++++++++++++++++++++++++
Alibquvi/mkfile | 6++++++
Alibquvi/v.mk | 1+
Alibquviscripts/checksums | 1+
Alibquviscripts/libquviscripts.mk | 18++++++++++++++++++
Alibquviscripts/mkfile | 6++++++
Alibquviscripts/v.mk | 1+
Aquvi/checksums | 1+
Aquvi/mkfile | 6++++++
Aquvi/quvi.mk | 21+++++++++++++++++++++
Aquvi/v.mk | 1+
13 files changed, 106 insertions(+), 0 deletions(-)

diff --git a/libquvi/checksums b/libquvi/checksums @@ -0,0 +1 @@ +a16b144651a3c7d7cf0a6b8d111fe9822e3d37531f82a2406b9ae5c32fd401301e7a281081be81857c9146d0af2fb4b53026248b2cb49929b36480596a6724dd libquvi-0.4.1.tar.xz diff --git a/libquvi/depsinc.mk b/libquvi/depsinc.mk @@ -0,0 +1,11 @@ +<$libquvi_DEPDIR/v.mk + +libquvi_bindir = ${libquvi_DEPDIR}/libquvi-$v/lib/bin +libquvi_libdir = ${libquvi_DEPDIR}/libquvi-$v/lib/lib +libquvi_includedir = ${libquvi_DEPDIR}/libquvi-$v/lib/include + +libquvi_CFLAGS = -I${libquvi_includedir} +libquvi_LDFLAGS = -L${libquvi_libdir} -lquvi + +DEPS_CFLAGS = $DEPS_CFLAGS ${libquvi_CFLAGS} +DEPS_LDFLAGS = $DEPS_LDFLAGS ${libquvi_LDFLAGS} diff --git a/libquvi/libquvi.mk b/libquvi/libquvi.mk @@ -0,0 +1,32 @@ +TARG = libquvi +DEPS = lua curl + +<$mkbuild/mk.common-noinst + +libquvi:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export liblua_CFLAGS="${lua_CFLAGS}" + export liblua_LIBS="${lua_LDFLAGS}" + export libcurl_CFLAGS="${curl_CFLAGS}" + export libcurl_LIBS="${curl_LDFLAGS}" + export libquvi_scripts_CFLAGS=" " + export libquvi_scripts_LIBS=" " + # + sed -i -E 's@^(scriptsdir=).*@\1/share/libquvi-scripts@g' configure + sed -i -E 's@^(versionfile=).*@\1/share/libquvi-scripts/version@g' configure + sed -i -E 's@^(scriptsmodver=).*@\1@g' configure + # + CC="$CC" ./configure \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static + make -j$nprocs + # install lib for use as a dependency. + make -j$nprocs install DESTDIR="`pwd`/lib" + # remove .la files for now ? + find `pwd`/lib -iname "*.la" -exec rm {} \; + +install:QV: + make -j$nprocs install DESTDIR="$ROOT" diff --git a/libquvi/mkfile b/libquvi/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libquvi-$v +url = http://softlayer-ams.dl.sourceforge.net/project/quvi/0.4/libquvi/libquvi-$v.tar.xz +mkfile = ../libquvi.mk diff --git a/libquvi/v.mk b/libquvi/v.mk @@ -0,0 +1 @@ +v = 0.4.1 diff --git a/libquviscripts/checksums b/libquviscripts/checksums @@ -0,0 +1 @@ +83a8ba10f688ceb57f37cae871dd71c0173b64f20dda4852b90a413665182aedf88e84ccd57a0f9ffee691760323e38c371aba5787fba17201847d4247c3616e libquvi-scripts-0.4.21.tar.xz diff --git a/libquviscripts/libquviscripts.mk b/libquviscripts/libquviscripts.mk @@ -0,0 +1,18 @@ +TARG = libquviscripts + +<$mkbuild/mk.common-noinst + +libquviscripts:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + CC="$CC" ./configure \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static \ + --without-manual \ + --with-nsfw + make -j$nprocs + +install:QV: + make -j$nprocs install DESTDIR="$ROOT" diff --git a/libquviscripts/mkfile b/libquviscripts/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = libquvi-scripts-$v +url = http://cznic.dl.sourceforge.net/project/quvi/0.4/libquvi-scripts/libquvi-scripts-$v.tar.xz +mkfile = ../libquviscripts.mk diff --git a/libquviscripts/v.mk b/libquviscripts/v.mk @@ -0,0 +1 @@ +v = 0.4.21 diff --git a/quvi/checksums b/quvi/checksums @@ -0,0 +1 @@ +a0cd26711123bd61e91534e510dd96fe290eb19eacaabe52c36b0064dee1ce410e80eddbe5995392e3769ae3c602b93b5132507a2d43d765e2b98e8488ea8f86 quvi-0.4.2.tar.xz diff --git a/quvi/mkfile b/quvi/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = quvi-$v +url = http://freefr.dl.sourceforge.net/project/quvi/0.4/quvi/quvi-$v.tar.xz +mkfile = ../quvi.mk diff --git a/quvi/quvi.mk b/quvi/quvi.mk @@ -0,0 +1,21 @@ +TARG = quvi +DEPS = libquvi lua curl libressl zlib + +<$mkbuild/mk.common-noinst + +quvi:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS -lcrypto" + export libquvi_CFLAGS="$CFLAGS" + export libquvi_LIBS="$LDFLAGS" + export libcurl_CFLAGS="$CFLAGS" + export libcurl_LIBS="$LDFLAGS" + CC="$CC" ./configure \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static + make -j$nprocs + +install:QV: + make -j$nprocs install DESTDIR="$ROOT" diff --git a/quvi/v.mk b/quvi/v.mk @@ -0,0 +1 @@ +v = 0.4.2