unzip: update to 6.0
This commit is contained in:
parent
6d90837991
commit
bcff4ab378
@ -6,9 +6,9 @@
|
|||||||
###########################################################
|
###########################################################
|
||||||
# Check the following 4 variables before running the script
|
# Check the following 4 variables before running the script
|
||||||
topdir=unzip
|
topdir=unzip
|
||||||
version=5.52
|
version=6.0
|
||||||
pkgver=3
|
pkgver=1
|
||||||
source[0]=${topdir}552.tar.gz
|
source[0]=http://prdownloads.sourceforge.net/infozip/${topdir}60.tar.gz
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
#patch[0]=
|
#patch[0]=
|
||||||
|
|
||||||
@ -16,11 +16,15 @@ source[0]=${topdir}552.tar.gz
|
|||||||
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
|
. ${BUILDPKG_SCRIPTS}/buildpkg.functions
|
||||||
|
|
||||||
# Global settings
|
# Global settings
|
||||||
|
LDFLAGS="-L$prefix/lib -R$prefix/lib -lbz2"
|
||||||
|
CPPFLAGS="-I$prefix/include -D_USE_BZIP2"
|
||||||
shortroot=1
|
shortroot=1
|
||||||
__configure="make"
|
__configure="make"
|
||||||
make_build_target="CC=gcc -f unix/Makefile solaris"
|
make_build_target="-f unix/Makefile generic_gcc"
|
||||||
configure_args=($make_build_target)
|
make_install_target="-f unix/Makefile install"
|
||||||
|
configure_args=($make_build_target L_BZ2="$LDFLAGS" CC="gcc $CPPFLAGS")
|
||||||
no_configure=1
|
no_configure=1
|
||||||
|
topsrcdir=${topdir}60
|
||||||
|
|
||||||
reg prep
|
reg prep
|
||||||
prep()
|
prep()
|
||||||
@ -31,7 +35,8 @@ prep()
|
|||||||
reg build
|
reg build
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
generic_build
|
setdir source
|
||||||
|
${__make} -e "${configure_args[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
reg check
|
reg check
|
||||||
@ -45,7 +50,7 @@ install()
|
|||||||
{
|
{
|
||||||
generic_install prefix
|
generic_install prefix
|
||||||
doc README BUGS LICENSE ToDo
|
doc README BUGS LICENSE ToDo
|
||||||
${__mv} ${stagedir}${prefix}/man ${stagedir}${prefix}/${_mandir}
|
${__mv} ${stagedir}${prefix}/man ${stagedir}${prefix}/share
|
||||||
}
|
}
|
||||||
|
|
||||||
reg pack
|
reg pack
|
||||||
|
4
unzip/meta/ChangeLog
Normal file
4
unzip/meta/ChangeLog
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
CHANGELOG
|
||||||
|
---------
|
||||||
|
* Wed Nov 20 2013 Tom G. Christensen <swpkg@jupiterrise.com> - 6.0-1
|
||||||
|
- Update to 6.0
|
@ -1,27 +0,0 @@
|
|||||||
PACKAGE DETAILS
|
|
||||||
---------------
|
|
||||||
Name: %%PKGNAME%%
|
|
||||||
Version: %%SOURCE_AND_VER%%
|
|
||||||
Vendor: %%VENDOR%%
|
|
||||||
Packager: %%PKGEDBY%%
|
|
||||||
|
|
||||||
Source (sha1sum):
|
|
||||||
%%SOURCE_SHA1SUM%%
|
|
||||||
|
|
||||||
BUILD DETAILS
|
|
||||||
-------------
|
|
||||||
Compiler:
|
|
||||||
%%COMPILER%%
|
|
||||||
|
|
||||||
Environment:
|
|
||||||
%%ENVIRONMENT%%
|
|
||||||
|
|
||||||
Configure:
|
|
||||||
%%CONFIGURE%%
|
|
||||||
|
|
||||||
KNOWN DEPENDENCIES
|
|
||||||
------------------
|
|
||||||
%%DEPENDENCIES%%
|
|
||||||
|
|
||||||
ERRORS/MISCELLANEOUS
|
|
||||||
--------------------
|
|
Loading…
x
Reference in New Issue
Block a user