afflib: new package

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Armin Kuster
2015-02-08 19:59:08 -08:00
parent 401cec2486
commit 1d03df0ddc
2 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
SUMMARY = "The Advanced Forensic Format (AFF) is on-disk format for storing computer forensic information."
HOMEPAGE = "http://www.afflib.org/"
LICENSE = " BSD-4-Clause & CPL-1.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=d1b2c6d0d6908f45d143ef6380727828"
DEPENDS = " zlib ncurses readline openssl libgcrypt"
SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/universe/a/${BPN}/${BPN}_${PV}.orig.tar.gz;name=orig \
http://archive.ubuntu.com/ubuntu/pool/universe/a/${BPN}/${BPN}_${PV}-1.1.diff.gz;name=dpatch \
file://configure_rm_ms_flags.patch \
"
SRC_URI[orig.md5sum] = "b7ff4d2945882018eb1536cad182ad01"
SRC_URI[orig.sha256sum] = "19cacfd558dc00e11975e820e3c4383b52aabbd5ca081d27bb7994a035d2f4ad"
SRC_URI[dpatch.md5sum] = "171e871024545b487589e6c85290576f"
SRC_URI[dpatch.sha256sum] = "db632e254ee51a1e4328cd4449d414eff4795053d4e36bfa8e0020fcb4085cdd"
inherit autotools-brokensep
CPPFLAGS = "-I${STAGING_INCDIR}"
LDFLAGS = "-L${STAGING_LIBDIR}"
PACKAGECONFIG ??= ""
PACKAGECONFIG[curl] = "--with-curl=PATH, --without-curl, curl"
PACKAGECONFIG[expat] = "--with-expat=PATH, --without-expat, expat"
PACKAGECONFIG[fuse] = "--enable-fuse=yes, --enable-fuse=no, fuse"
PACKAGECONFIG[python] = "--enable-python=yes, --enable-python=no, python"
EXTRA_OECONF += "--enable-s3=no CPPFLAGS=-I${STAGING_INCDIR} LDFLAGS=-L${STAGING_LIBDIR}"
EXTRA_OEMAKE += "CPPFLAGS='${CPPFLAGS}' LDFLAGS='-L${STAGING_LIBDIR}'"

View File

@@ -0,0 +1,18 @@
Upstream-Status: Inappropriate [configuration]
remove ms lib options when cross compiling
Signed-Off-By: Armin Kuster <akuster808@gmail.com>
Index: configure.ac
===================================================================
--- a.orig/configure.ac
+++ a/configure.ac
@@ -47,7 +47,6 @@ if test x"${cross_compiling}" = "xno" ;
AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ])
else
AC_MSG_NOTICE([Cross Compiling --- will not update CPPFALGS or LDFLAGS with /usr/local, /opt/local or /sw])
- LIBS="$LIBS -lws2_32 -lgdi32"
fi
if test -r /bin/uname.exe ; then