wps-office: remove builtin libpng
This commit is contained in:
parent
d3e9be8749
commit
b1d2baa42f
1 changed files with 2 additions and 24 deletions
|
@ -2,20 +2,17 @@
|
||||||
_numericVersion=10.1.0.5672
|
_numericVersion=10.1.0.5672
|
||||||
_releaseIncrement=a21
|
_releaseIncrement=a21
|
||||||
_patchLevel=
|
_patchLevel=
|
||||||
_libpngVersion=1.2.56
|
|
||||||
|
|
||||||
pkgname=wps-office
|
pkgname=wps-office
|
||||||
version=${_numericVersion}${_releaseIncrement}
|
version=${_numericVersion}${_releaseIncrement}
|
||||||
revision=1
|
revision=2
|
||||||
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
||||||
homepage="http://wps-community.org"
|
homepage="http://wps-community.org"
|
||||||
license="Kingsoft WPS Community License; zlib"
|
license="Kingsoft WPS Community License"
|
||||||
#Full license is at: http://wps-community.org/license.md (Not downloadable)
|
#Full license is at: http://wps-community.org/license.md (Not downloadable)
|
||||||
short_desc="Linux office suite with similar appearance to MS Office"
|
short_desc="Linux office suite with similar appearance to MS Office"
|
||||||
allow_unknown_shlibs=yes
|
allow_unknown_shlibs=yes
|
||||||
nodebug=yes
|
nodebug=yes
|
||||||
hostmakedepends="rsync"
|
|
||||||
makedepends="zlib-devel"
|
|
||||||
restricted=yes
|
restricted=yes
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
|
||||||
|
@ -32,32 +29,13 @@ fi
|
||||||
|
|
||||||
_distTar="${pkgname}_${_numericVersion}~${_releaseIncrement}${_patchLevel}_${_arch}.tar.xz"
|
_distTar="${pkgname}_${_numericVersion}~${_releaseIncrement}${_patchLevel}_${_arch}.tar.xz"
|
||||||
distfiles="${_disturl}/${_distTar}"
|
distfiles="${_disturl}/${_distTar}"
|
||||||
distfiles+=" ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng12/libpng-${_libpngVersion}.tar.xz"
|
|
||||||
|
|
||||||
checksum+=" 24ce54581468b937734a6ecc86f7e121bc46a90d76a0d948dca08f32ee000dbe"
|
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
vmkdir "opt/kingsoft/wps-office"
|
vmkdir "opt/kingsoft/wps-office"
|
||||||
tar xvf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_distTar}" -C "${DESTDIR}/opt/kingsoft/wps-office" --strip-components=1
|
tar xvf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_distTar}" -C "${DESTDIR}/opt/kingsoft/wps-office" --strip-components=1
|
||||||
|
|
||||||
# extract libpng
|
|
||||||
tar xvf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/libpng-${_libpngVersion}.tar.xz" --strip-components=1
|
|
||||||
}
|
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
# This is only for the included libpng
|
|
||||||
./configure --prefix=${DESTDIR}/usr
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
# This is only for the included libpng
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# Install the included libpng
|
|
||||||
make install
|
|
||||||
|
|
||||||
# Install the wps-office suites
|
# Install the wps-office suites
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
vmkdir usr/share
|
vmkdir usr/share
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue