diff --git a/lzip/build.sh b/lzip/build.sh new file mode 100755 index 0000000..3746fb5 --- /dev/null +++ b/lzip/build.sh @@ -0,0 +1,62 @@ +#!/bin/bash +# This is a buildpkg build.sh script +# build.sh helper functions +. ${BUILDPKG_SCRIPTS}/build.sh.functions +# +########################################################### +# Check the following 4 variables before running the script +topdir=lzip +version=1.20 +pkgver=1 +source[0]=http://download.savannah.gnu.org/releases/lzip/$topdir-$version.tar.gz +# If there are no patches, simply comment this +patch[0]=lzip-1.20-no-stdint_h.patch + +# Source function library +. ${BUILDPKG_SCRIPTS}/buildpkg.functions + +# Global settings +LDFLAGS="-L/usr/tgcware/lib -R/usr/tgcware/lib" +configure_args+=(LDFLAGS="$LDFLAGS") + +reg prep +prep() +{ + generic_prep +} + +reg build +build() +{ + generic_build +} + +reg check +check() +{ + generic_check +} + +reg install +install() +{ + generic_install DESTDIR + doc NEWS README AUTHORS COPYING +} + +reg pack +pack() +{ + generic_pack +} + +reg distclean +distclean() +{ + clean distclean +} + +################################################### +# No need to look below here +################################################### +build_sh $* diff --git a/lzip/meta/ChangeLog b/lzip/meta/ChangeLog new file mode 100644 index 0000000..fea7a3c --- /dev/null +++ b/lzip/meta/ChangeLog @@ -0,0 +1,4 @@ +ChangeLog +--------- +* Mon Apr 09 2018 Tom G. Christensen - 1.20-1 +- Initial package diff --git a/lzip/meta/pkgdef b/lzip/meta/pkgdef new file mode 100644 index 0000000..06b007b --- /dev/null +++ b/lzip/meta/pkgdef @@ -0,0 +1,12 @@ +[lzip] +pkgname="${pkgprefix}${topdir}" +name="$topdir - a lossless data compressor" +pkgcat="application" +pkgvendor="https://www.nongnu.org/lzip/lzip.html" +pkgdesc="A lossless data compressor with a user interface similar to the one of gzip or bzip2" +pkgver="$pkgver" +files(-,root,bin) +default_docs +$_bindir +$_infodir +$_mandir diff --git a/lzip/src/lzip-1.20-no-stdint_h.patch b/lzip/src/lzip-1.20-no-stdint_h.patch new file mode 100644 index 0000000..f185eb8 --- /dev/null +++ b/lzip/src/lzip-1.20-no-stdint_h.patch @@ -0,0 +1,77 @@ +--- lzip-1.20/file_index.cc.stdint_h 2018-01-02 14:01:17.000000000 +0100 ++++ lzip-1.20/file_index.cc 2018-04-09 19:52:09.973367000 +0200 +@@ -23,7 +23,7 @@ + #include + #include + #include +-#include ++#include + #include + + #include "lzip.h" +--- lzip-1.20/encoder.cc.stdint_h 2018-01-02 14:01:17.000000000 +0100 ++++ lzip-1.20/encoder.cc 2018-04-09 19:52:46.853720000 +0200 +@@ -23,7 +23,7 @@ + #include + #include + #include +-#include ++#include + + #include "lzip.h" + #include "encoder_base.h" +--- lzip-1.20/encoder_base.cc.stdint_h 2018-01-02 14:01:17.000000000 +0100 ++++ lzip-1.20/encoder_base.cc 2018-04-09 19:53:13.993950000 +0200 +@@ -23,7 +23,7 @@ + #include + #include + #include +-#include ++#include + + #include "lzip.h" + #include "encoder_base.h" +--- lzip-1.20/fast_encoder.cc.stdint_h 2018-01-02 14:01:17.000000000 +0100 ++++ lzip-1.20/fast_encoder.cc 2018-04-09 19:53:38.984163000 +0200 +@@ -23,7 +23,7 @@ + #include + #include + #include +-#include ++#include + + #include "lzip.h" + #include "encoder_base.h" +--- lzip-1.20/decoder.cc.stdint_h 2018-01-02 14:01:17.000000000 +0100 ++++ lzip-1.20/decoder.cc 2018-04-09 19:54:07.484409000 +0200 +@@ -24,7 +24,7 @@ + #include + #include + #include +-#include ++#include + #include + + #include "lzip.h" +--- lzip-1.20/list.cc.stdint_h 2018-01-02 14:01:17.000000000 +0100 ++++ lzip-1.20/list.cc 2018-04-09 19:54:26.434568000 +0200 +@@ -21,7 +21,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + +--- lzip-1.20/main.cc.stdint_h 2018-01-06 11:01:29.000000000 +0100 ++++ lzip-1.20/main.cc 2018-04-09 19:54:47.154757000 +0200 +@@ -34,7 +34,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include