lzip: new package, lzip 1.20

This commit is contained in:
Tom G. Christensen 2018-04-09 20:45:38 +02:00
parent d0896d2493
commit 2529fb3b26
4 changed files with 155 additions and 0 deletions

62
lzip/build.sh Executable file
View File

@ -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 $*

4
lzip/meta/ChangeLog Normal file
View File

@ -0,0 +1,4 @@
ChangeLog
---------
* Mon Apr 09 2018 Tom G. Christensen <swpkg@jupiterrise.com> - 1.20-1
- Initial package

12
lzip/meta/pkgdef Normal file
View File

@ -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

View File

@ -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 <cstring>
#include <string>
#include <vector>
-#include <stdint.h>
+#include <sys/types.h>
#include <unistd.h>
#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 <cstring>
#include <string>
#include <vector>
-#include <stdint.h>
+#include <sys/types.h>
#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 <cstring>
#include <string>
#include <vector>
-#include <stdint.h>
+#include <sys/types.h>
#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 <cstring>
#include <string>
#include <vector>
-#include <stdint.h>
+#include <sys/types.h>
#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 <cstring>
#include <string>
#include <vector>
-#include <stdint.h>
+#include <sys/types.h>
#include <unistd.h>
#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 <cstring>
#include <string>
#include <vector>
-#include <stdint.h>
+#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
--- 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 <string>
#include <vector>
#include <fcntl.h>
-#include <stdint.h>
+#include <sys/types.h>
#include <unistd.h>
#include <utime.h>
#include <sys/stat.h>