summaryrefslogtreecommitdiff
path: root/package/gettext-tiny
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-22 19:25:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-01-22 19:25:04 +0100
commit9d558ab93a7d672f4fcf9c5c1bdd123005355b5d (patch)
tree8b4bc18bce0f6d82c462356a900a0196305bde6e /package/gettext-tiny
parentb5b344787ba362d146651967691da117a12ff61d (diff)
remove gettext-tiny, libintl is now included in uClibc-ng
Diffstat (limited to 'package/gettext-tiny')
-rw-r--r--package/gettext-tiny/Makefile38
-rw-r--r--package/gettext-tiny/patches/patch-Makefile49
2 files changed, 0 insertions, 87 deletions
diff --git a/package/gettext-tiny/Makefile b/package/gettext-tiny/Makefile
deleted file mode 100644
index eb8b5da5d..000000000
--- a/package/gettext-tiny/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(ADK_TOPDIR)/rules.mk
-
-PKG_NAME:= gettext-tiny
-PKG_VERSION:= 0.0.4
-PKG_RELEASE:= 1
-PKG_HASH:= fffb22ae01bc8f4772ba6fcfddce4a87f199589e0230cba26df65110007c7821
-PKG_DESCR:= gettext stub and replacement
-PKG_SECTION:= libs/misc
-PKG_BUILDDEP:= gettext-tiny-host
-PKG_URL:= https://github.com/rofl0r/gettext-tiny
-PKG_SITES:= http://ftp.barfooze.de/pub/sabotage/tarballs/
-PKG_OPTS:= dev
-
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
-
-include $(ADK_TOPDIR)/mk/host.mk
-include $(ADK_TOPDIR)/mk/package.mk
-
-$(eval $(call HOST_template,GETTEXT_TINY,gettext-tiny,$(PKG_VERSION)-${PKG_RELEASE}))
-$(eval $(call PKG_template,GETTEXT_TINY,gettext-tiny,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-
-HOST_STYLE:= manual
-CONFIG_STYLE:= manual
-
-host-build:
- (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
- ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
-
-gettext-tiny-hostinstall:
- ${CP} ${WRKBUILD}/include/libintl.h ${STAGING_HOST_DIR}/usr/include
- ${CP} ${WRKBUILD}/libintl.a ${STAGING_HOST_DIR}/usr/lib
- ${CP} ${WRKBUILD}/{msgfmt,xgettext,msgmerge} ${STAGING_HOST_DIR}/usr/bin
-
-include ${ADK_TOPDIR}/mk/host-bottom.mk
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gettext-tiny/patches/patch-Makefile b/package/gettext-tiny/patches/patch-Makefile
deleted file mode 100644
index dcc98f4bb..000000000
--- a/package/gettext-tiny/patches/patch-Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
---- gettext-tiny-0.0.4.orig/Makefile 2014-03-02 15:55:44.000000000 +0100
-+++ gettext-tiny-0.0.4/Makefile 2016-07-17 01:00:02.732966962 +0200
-@@ -1,4 +1,4 @@
--prefix=/usr/local
-+prefix=/usr
- bindir=$(prefix)/bin
- includedir=$(prefix)/include
- libdir=$(prefix)/lib
-@@ -19,7 +19,8 @@ ALL_INCLUDES = $(HEADERS)
- ALL_LIBS=libintl.a
- ALL_TOOLS=msgfmt msgmerge xgettext
-
--CFLAGS=-O0 -fPIC
-+CFLAGS?=-O0
-+CFLAGS+=-fPIC
-
- AR ?= $(CROSS_COMPILE)ar
- RANLIB ?= $(CROSS_COMPILE)ranlib
-@@ -47,22 +48,25 @@ libintl.a: $(LIBOBJS)
- $(RANLIB) $@
-
- msgmerge: $(OBJS)
-- $(CC) $(LDFLAGS) -static -o $@ src/msgmerge.o $(PARSEROBJS)
-+ $(CC) $(LDFLAGS) -o $@ src/msgmerge.o $(PARSEROBJS)
-
- msgfmt: $(OBJS)
-- $(CC) $(LDFLAGS) -static -o $@ src/msgfmt.o $(PARSEROBJS)
-+ $(CC) $(LDFLAGS) -o $@ src/msgfmt.o $(PARSEROBJS)
-
- xgettext:
- cp src/xgettext.sh ./xgettext
-
- $(DESTDIR)$(libdir)/%.a: %.a
-- install -D -m 755 $< $@
-+ mkdir -p $(DESTDIR)$(libdir)
-+ install -m 755 $< $@
-
- $(DESTDIR)$(includedir)/%.h: include/%.h
-- install -D -m 644 $< $@
-+ mkdir -p $(DESTDIR)$(includedir)
-+ install -m 644 $< $@
-
- $(DESTDIR)$(bindir)/%: %
-- install -D -m 755 $< $@
-+ mkdir -p $(DESTDIR)$(bindir)
-+ install -m 755 $< $@
-
- .PHONY: all clean install
-