Update to 1.11.3
This commit is contained in:
parent
65952070ef
commit
8ee3a19f77
@ -3,30 +3,24 @@
|
|||||||
# This is a generic build.sh script
|
# This is a generic build.sh script
|
||||||
# It can be used nearly unmodified with many packages
|
# It can be used nearly unmodified with many packages
|
||||||
#
|
#
|
||||||
# The concept of "method" registering and the logic that implements it was shamelessly
|
# build.sh helper functions
|
||||||
# stolen from jhlj's Compile.sh script :)
|
. ${BUILDPKG_BASE}/scripts/build.sh.functions
|
||||||
#
|
#
|
||||||
|
###########################################################
|
||||||
# Check the following 4 variables before running the script
|
# Check the following 4 variables before running the script
|
||||||
topdir=wget
|
topdir=wget
|
||||||
version=1.9.1
|
version=1.11.3
|
||||||
pkgver=2
|
pkgver=1
|
||||||
source[0]=$topdir-$version.tar.gz
|
source[0]=$topdir-$version.tar.bz2
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
#patch[0]=
|
#patch[0]=
|
||||||
|
|
||||||
# Source function library
|
# Source function library
|
||||||
. ${HOME}/buildpkg/scripts/buildpkg.functions
|
. ${BUILDPKG_BASE}/scripts/buildpkg.functions
|
||||||
|
|
||||||
# Global options
|
# Global settings
|
||||||
export LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
|
export CPPFLAGS="-I$prefix/include"
|
||||||
export CPPFLAGS="-I/usr/local/include"
|
export LDFLAGS="-L$prefix/lib -R$prefix/lib"
|
||||||
configure_args="--prefix=$prefix --disable-nls --enable-static=no --with-ssl"
|
|
||||||
|
|
||||||
# Define script functions and register them
|
|
||||||
METHODS=""
|
|
||||||
reg() {
|
|
||||||
METHODS="$METHODS $1"
|
|
||||||
}
|
|
||||||
|
|
||||||
reg prep
|
reg prep
|
||||||
prep()
|
prep()
|
||||||
@ -40,11 +34,17 @@ build()
|
|||||||
generic_build
|
generic_build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reg check
|
||||||
|
check()
|
||||||
|
{
|
||||||
|
generic_check
|
||||||
|
}
|
||||||
|
|
||||||
reg install
|
reg install
|
||||||
install()
|
install()
|
||||||
{
|
{
|
||||||
generic_install DESTDIR
|
generic_install DESTDIR
|
||||||
doc README NEWS TODO
|
doc AUTHORS COPYING NEWS README MAILING-LIST
|
||||||
}
|
}
|
||||||
|
|
||||||
reg pack
|
reg pack
|
||||||
@ -62,42 +62,4 @@ distclean()
|
|||||||
###################################################
|
###################################################
|
||||||
# No need to look below here
|
# No need to look below here
|
||||||
###################################################
|
###################################################
|
||||||
|
build_sh $*
|
||||||
reg all
|
|
||||||
all()
|
|
||||||
{
|
|
||||||
for METHOD in $METHODS
|
|
||||||
do
|
|
||||||
case $METHOD in
|
|
||||||
all*|*clean) ;;
|
|
||||||
*) $METHOD
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
reg
|
|
||||||
usage() {
|
|
||||||
echo Usage $0 "{"$(echo $METHODS | tr " " "|")"}"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
OK=0
|
|
||||||
for METHOD in $*
|
|
||||||
do
|
|
||||||
METHOD=" $METHOD *"
|
|
||||||
if [ "${METHODS%$METHOD}" == "$METHODS" ] ; then
|
|
||||||
usage
|
|
||||||
fi
|
|
||||||
OK=1
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ $OK = 0 ] ; then
|
|
||||||
usage;
|
|
||||||
fi
|
|
||||||
|
|
||||||
for METHOD in $*
|
|
||||||
do
|
|
||||||
( $METHOD )
|
|
||||||
done
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
P SBossl097dlib OpenSSL - Secure Socket Layer
|
|
@ -1,9 +1,15 @@
|
|||||||
[wget]
|
[wget]
|
||||||
pkgname="$pkgprefix""$topdir"
|
pkgname="${pkgprefix}${topdir}"
|
||||||
name="Wget - Retrieves files from the Web"
|
name="$topdir - GNU wget"
|
||||||
pkgcat="application"
|
pkgcat="application"
|
||||||
pkgvendor="http://www.gnu.org"
|
pkgvendor="http://wget.sunsite.dk/"
|
||||||
pkgdesc="Wget is a network utility to retrieve files from the Web using http and ftp"
|
pkgdesc="A utility for retrieving files using the HTTP or FTP protocols"
|
||||||
pkgver="$pkgver"
|
pkgver="$pkgver"
|
||||||
files(-,root,bin)
|
files(-,root,bin)
|
||||||
*
|
default_docs
|
||||||
|
$_bindir
|
||||||
|
$_sysconfdir/wgetrc
|
||||||
|
$_mandir/man1/wget.1*
|
||||||
|
$_infodir/wget.info*
|
||||||
|
$_sharedir/locale/*/LC_MESSAGES/wget.mo
|
||||||
|
|
||||||
|
27
wget/meta/relnotes
Normal file
27
wget/meta/relnotes
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
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