From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/libowfat/Config.in | 4 ++++ package/libowfat/Makefile | 28 ++++++++++++++++++++++++++++ package/libowfat/patches/patch-GNUmakefile | 12 ++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 package/libowfat/Config.in create mode 100644 package/libowfat/Makefile create mode 100644 package/libowfat/patches/patch-GNUmakefile (limited to 'package/libowfat') diff --git a/package/libowfat/Config.in b/package/libowfat/Config.in new file mode 100644 index 000000000..a95b28736 --- /dev/null +++ b/package/libowfat/Config.in @@ -0,0 +1,4 @@ +config ADK_COMPILE_LIBOWFAT + prompt "libowfat.......................... fefe's version of libdjb" + tristate + default n diff --git a/package/libowfat/Makefile b/package/libowfat/Makefile new file mode 100644 index 000000000..cb288b823 --- /dev/null +++ b/package/libowfat/Makefile @@ -0,0 +1,28 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME= libowfat +PKG_VERSION= 0.25 +PKG_RELEASE= 1 +PKG_MD5SUM= 7a5ab9f5b7099b82e428cd308d170005 + +MASTER_SITES= http://dl.fefe.de/ +DISTFILES= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBOWFAT,libowfat,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +BUILD_STYLE= auto +INSTALL_STYLE= auto +MAKE_FILE= GNUmakefile +MAKE_FLAGS+= DIET= CC='${TARGET_CC}' CROSS=${TARGET_CROSS} +TCFLAGS+= ${TCPPFLAGS} +FAKE_FLAGS+= prefix='${WRKINST}/usr' \ + INCLUDEDIR='${WRKINST}/usr/include/owfat' + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libowfat/patches/patch-GNUmakefile b/package/libowfat/patches/patch-GNUmakefile new file mode 100644 index 000000000..24c836bac --- /dev/null +++ b/package/libowfat/patches/patch-GNUmakefile @@ -0,0 +1,12 @@ +$Id$ +--- libowfat-0.25.orig/GNUmakefile 2006-07-16 01:17:01.000000000 +0200 ++++ libowfat-0.25/GNUmakefile 2007-07-06 17:35:01.000000000 +0200 +@@ -18,7 +18,7 @@ all: t $(LIBS) libowfat.a libsocket + CROSS= + #CROSS=i686-mingw- + CC=$(CROSS)gcc +-CFLAGS=-pipe -W -Wall -O2 -fomit-frame-pointer ++CFLAGS?=-pipe -W -Wall -O2 -fomit-frame-pointer + #CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall + + # CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2 -- cgit v1.2.3