diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libowfat |
Initial import
Diffstat (limited to 'package/libowfat')
-rw-r--r-- | package/libowfat/Config.in | 4 | ||||
-rw-r--r-- | package/libowfat/Makefile | 28 | ||||
-rw-r--r-- | package/libowfat/patches/patch-GNUmakefile | 12 |
3 files changed, 44 insertions, 0 deletions
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 |