summaryrefslogtreecommitdiff
path: root/packages/bzip2
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/bzip2
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/bzip2')
-rw-r--r--packages/bzip2/bzip2-1.0.2/installpaths.patch103
-rw-r--r--packages/bzip2/bzip2-full-native-1.0.5/Makefile.am41
-rw-r--r--packages/bzip2/bzip2-full-native-1.0.5/configure.ac14
-rw-r--r--packages/bzip2/bzip2-full-native_1.0.5.bb25
-rw-r--r--packages/bzip2/bzip2_1.0.2.bb41
5 files changed, 0 insertions, 224 deletions
diff --git a/packages/bzip2/bzip2-1.0.2/installpaths.patch b/packages/bzip2/bzip2-1.0.2/installpaths.patch
deleted file mode 100644
index e7d09a71c5..0000000000
--- a/packages/bzip2/bzip2-1.0.2/installpaths.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- bzip2-1.0.2/Makefile~installpaths
-+++ bzip2-1.0.2/Makefile
-@@ -12,8 +12,12 @@
- CFLAGS=-Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES)
-
- # Where you want it installed when you do 'make install'
--PREFIX=/usr
--
-+DESTDIR=
-+prefix=/usr
-+bindir=$(prefix)/bin
-+mandir=$(prefix)/man
-+includedir=$(prefix)/include
-+libdir=$(prefix)/lib
-
- OBJS= blocksort.o \
- huffman.o \
-@@ -58,43 +62,43 @@
- @cat words3
-
- install: bzip2 bzip2recover
-- if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
-- if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
-- if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
-- if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
-- if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
-- cp -f bzip2 $(PREFIX)/bin/bzip2
-- cp -f bzip2 $(PREFIX)/bin/bunzip2
-- cp -f bzip2 $(PREFIX)/bin/bzcat
-- cp -f bzip2recover $(PREFIX)/bin/bzip2recover
-- chmod a+x $(PREFIX)/bin/bzip2
-- chmod a+x $(PREFIX)/bin/bunzip2
-- chmod a+x $(PREFIX)/bin/bzcat
-- chmod a+x $(PREFIX)/bin/bzip2recover
-- cp -f bzip2.1 $(PREFIX)/man/man1
-- chmod a+r $(PREFIX)/man/man1/bzip2.1
-- cp -f bzlib.h $(PREFIX)/include
-- chmod a+r $(PREFIX)/include/bzlib.h
-- cp -f libbz2.a $(PREFIX)/lib
-- chmod a+r $(PREFIX)/lib/libbz2.a
-- cp -f bzgrep $(PREFIX)/bin/bzgrep
-- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
-- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
-- chmod a+x $(PREFIX)/bin/bzgrep
-- cp -f bzmore $(PREFIX)/bin/bzmore
-- ln $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless
-- chmod a+x $(PREFIX)/bin/bzmore
-- cp -f bzdiff $(PREFIX)/bin/bzdiff
-- ln $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
-- chmod a+x $(PREFIX)/bin/bzdiff
-- cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
-- chmod a+r $(PREFIX)/man/man1/bzgrep.1
-- chmod a+r $(PREFIX)/man/man1/bzmore.1
-- chmod a+r $(PREFIX)/man/man1/bzdiff.1
-- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1
-- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
-- echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
-- echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
-+ if ( test ! -d $(DESTDIR)$(bindir) ) ; then mkdir -p $(DESTDIR)$(bindir) ; fi
-+ if ( test ! -d $(DESTDIR)$(libdir) ) ; then mkdir -p $(DESTDIR)$(libdir) ; fi
-+ if ( test ! -d $(DESTDIR)$(mandir) ) ; then mkdir -p $(DESTDIR)$(mandir) ; fi
-+ if ( test ! -d $(DESTDIR)$(mandir)/man1 ) ; then mkdir -p $(DESTDIR)$(mandir)/man1 ; fi
-+ if ( test ! -d $(DESTDIR)$(includedir) ) ; then mkdir -p $(DESTDIR)$(includedir) ; fi
-+ cp -f bzip2 $(DESTDIR)$(bindir)/bzip2
-+ cp -f bzip2 $(DESTDIR)$(bindir)/bunzip2
-+ cp -f bzip2 $(DESTDIR)$(bindir)/bzcat
-+ cp -f bzip2recover $(DESTDIR)$(bindir)/bzip2recover
-+ chmod a+x $(DESTDIR)$(bindir)/bzip2
-+ chmod a+x $(DESTDIR)$(bindir)/bunzip2
-+ chmod a+x $(DESTDIR)$(bindir)/bzcat
-+ chmod a+x $(DESTDIR)$(bindir)/bzip2recover
-+ cp -f bzip2.1 $(DESTDIR)$(mandir)/man1
-+ chmod a+r $(DESTDIR)$(mandir)/man1/bzip2.1
-+ cp -f bzlib.h $(DESTDIR)$(includedir)
-+ chmod a+r $(DESTDIR)$(includedir)/bzlib.h
-+ cp -f libbz2.a $(DESTDIR)$(libdir)
-+ chmod a+r $(DESTDIR)$(libdir)/libbz2.a
-+ cp -f bzgrep $(DESTDIR)$(bindir)/bzgrep
-+ ln $(DESTDIR)$(bindir)/bzgrep $(DESTDIR)$(bindir)/bzegrep
-+ ln $(DESTDIR)$(bindir)/bzgrep $(DESTDIR)$(bindir)/bzfgrep
-+ chmod a+x $(DESTDIR)$(bindir)/bzgrep
-+ cp -f bzmore $(DESTDIR)$(bindir)/bzmore
-+ ln $(DESTDIR)$(bindir)/bzmore $(DESTDIR)$(bindir)/bzless
-+ chmod a+x $(DESTDIR)$(bindir)/bzmore
-+ cp -f bzdiff $(DESTDIR)$(bindir)/bzdiff
-+ ln $(DESTDIR)$(bindir)/bzdiff $(DESTDIR)$(bindir)/bzcmp
-+ chmod a+x $(DESTDIR)$(bindir)/bzdiff
-+ cp -f bzgrep.1 bzmore.1 bzdiff.1 $(DESTDIR)$(mandir)/man1
-+ chmod a+r $(DESTDIR)$(mandir)/man1/bzgrep.1
-+ chmod a+r $(DESTDIR)$(mandir)/man1/bzmore.1
-+ chmod a+r $(DESTDIR)$(mandir)/man1/bzdiff.1
-+ echo ".so man1/bzgrep.1" > $(DESTDIR)$(mandir)/man1/bzegrep.1
-+ echo ".so man1/bzgrep.1" > $(DESTDIR)$(mandir)/man1/bzfgrep.1
-+ echo ".so man1/bzmore.1" > $(DESTDIR)$(mandir)/man1/bzless.1
-+ echo ".so man1/bzdiff.1" > $(DESTDIR)$(mandir)/man1/bzcmp.1
-
- distclean: clean
- clean:
diff --git a/packages/bzip2/bzip2-full-native-1.0.5/Makefile.am b/packages/bzip2/bzip2-full-native-1.0.5/Makefile.am
deleted file mode 100644
index b234e80f37..0000000000
--- a/packages/bzip2/bzip2-full-native-1.0.5/Makefile.am
+++ /dev/null
@@ -1,41 +0,0 @@
-
-lib_LTLIBRARIES = libbz2.la
-
-libbz2_la_SOURCES = blocksort.c \
- huffman.c \
- crctable.c \
- randtable.c \
- compress.c \
- decompress.c \
- bzlib.c
-
-bin_PROGRAMS = bzip2 bzip2recover
-
-bzip2_SOURCES = bzip2.c
-bzip2_LDADD = libbz2.la
-bzip2_DEPENDENCIES = libbz2.la
-
-include_HEADERS = bzlib.h
-
-bzip2recover_SOURCES = bzip2recover.c
-bzip2recover_LDADD = libbz2.la
-bzip2recover_DEPENDENCIES = libbz2.la
-
-bin_SCRIPTS = bzgrep bzgrep bzmore bzdiff
-
-man_MANS = bzip2.1 bzgrep.1 bzmore.1 bzdiff.1
-EXTRA_DIST = $(man_MANS)
-
-install-exec-hook:
- ln -s $(bindir)/bzip2$(EXEEXT) $(DESTDIR)$(bindir)/bunzip2$(EXEEXT)
- ln -s $(bindir)/bzip2$(EXEEXT) $(DESTDIR)$(bindir)/bzcat$(EXEEXT)
- ln -s $(bindir)/bzgrep$(EXEEXT) $(DESTDIR)$(bindir)/bzegrep$(EXEEXT)
- ln -s $(bindir)/bzgrep$(EXEEXT) $(DESTDIR)$(bindir)/bzfgrep$(EXEEXT)
- ln -s $(bindir)/bzmore$(EXEEXT) $(DESTDIR)$(bindir)/bzless$(EXEEXT)
- ln -s $(bindir)/bzdiff$(EXEEXT) $(DESTDIR)$(bindir)/bzcmp$(EXEEXT)
-
-install-data-hook:
- echo ".so man1/bzgrep.1" > $(DESTDIR)$(mandir)/man1/bzegrep.1
- echo ".so man1/bzgrep.1" > $(DESTDIR)$(mandir)/man1/bzfgrep.1
- echo ".so man1/bzmore.1" > $(DESTDIR)$(mandir)/man1/bzless.1
- echo ".so man1/bzdiff.1" > $(DESTDIR)$(mandir)/man1/bzcmp.1
diff --git a/packages/bzip2/bzip2-full-native-1.0.5/configure.ac b/packages/bzip2/bzip2-full-native-1.0.5/configure.ac
deleted file mode 100644
index 14b1d1809d..0000000000
--- a/packages/bzip2/bzip2-full-native-1.0.5/configure.ac
+++ /dev/null
@@ -1,14 +0,0 @@
-AC_PREREQ([2.57])
-
-AC_INIT(bzip2, 2.0.5, , libXrender)
-AM_INIT_AUTOMAKE()
-AM_MAINTAINER_MODE
-
-#AM_CONFIG_HEADER(config.h)
-
-# Check for progs
-AC_PROG_CC
-AC_PROG_LIBTOOL
-
-AC_OUTPUT([Makefile])
-
diff --git a/packages/bzip2/bzip2-full-native_1.0.5.bb b/packages/bzip2/bzip2-full-native_1.0.5.bb
deleted file mode 100644
index 13bebbb3d5..0000000000
--- a/packages/bzip2/bzip2-full-native_1.0.5.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "Very high-quality data compression program."
-SECTION = "console/utils"
-PR = "r0"
-
-LICENSE = "bzip2"
-SRC_URI = "http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz \
- file://configure.ac \
- file://Makefile.am"
-
-S = "${WORKDIR}/bzip2-${PV}"
-
-CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64"
-
-inherit autotools native
-
-do_configure_prepend () {
- cp ${WORKDIR}/configure.ac ${S}/
- cp ${WORKDIR}/Makefile.am ${S}/
- cp ${STAGING_DATADIR_NATIVE}/automake*/install-sh ${S}/
-}
-
-do_stage () {
- install -m 0644 bzlib.h ${STAGING_INCDIR}/
- oe_libinstall -a -so libbz2 ${STAGING_LIBDIR}
-}
diff --git a/packages/bzip2/bzip2_1.0.2.bb b/packages/bzip2/bzip2_1.0.2.bb
deleted file mode 100644
index 1e1cb8e539..0000000000
--- a/packages/bzip2/bzip2_1.0.2.bb
+++ /dev/null
@@ -1,41 +0,0 @@
-DESCRIPTION = "Very high-quality data compression program."
-SECTION = "console/utils"
-PR = "r1"
-
-LICENSE = "bzip2"
-SRC_URI = "ftp://sources.redhat.com/pub/bzip2/v102/bzip2-${PV}.tar.gz \
- file://installpaths.patch;patch=1"
-
-CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=64"
-
-do_compile () {
- oe_runmake -f Makefile-libbz2_so
- ln -sf libbz2.so.1.0.2 libbz2.so.1.0
- ln -sf libbz2.so.1.0.2 libbz2.so.1
- ln -sf libbz2.so.1.0.2 libbz2.so
- oe_runmake libbz2.a bzip2 bzip2recover
-}
-
-do_stage () {
- install -m 0644 bzlib.h ${STAGING_INCDIR}/
- oe_libinstall -a -so libbz2 ${STAGING_LIBDIR}
-}
-
-do_install () {
- oe_runmake 'DESTDIR=${D}' install
- oe_libinstall -a -so libbz2 ${D}${libdir}
- mv ${D}${bindir}/bunzip2 ${D}${bindir}/bunzip2.${PN}
- mv ${D}${bindir}/bzcat ${D}${bindir}/bzcat.${PN}
-}
-
-
-pkg_postinst_${PN} () {
- update-alternatives --install ${bindir}/bunzip2 bunzip2 bunzip2.${PN} 100
- update-alternatives --install ${bindir}/bzcat bzcat bzcat.${PN} 100
-}
-
-
-pkg_prerm_${PN} () {
- update-alternatives --remove bunzip2 bunzip2.${PN}
- update-alternatives --remove bzcat bzcat.${PN}
-}