diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-10 09:53:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-11-10 10:04:41 +0000 |
commit | 02cd2fa89b83e96a9073725a6efd94afe8cbc4f0 (patch) | |
tree | dd7651858962d4c14bacd56bf982b6a933e858f6 /main/open-vm-tools-vserver | |
parent | 82c89b6953e72f3652e3610ee22f7965e667cacd (diff) | |
download | aports-02cd2fa89b83e96a9073725a6efd94afe8cbc4f0.tar.bz2 aports-02cd2fa89b83e96a9073725a6efd94afe8cbc4f0.tar.xz |
main/*-vserver: upgrade to 3.0.8-vs2.1.3
Diffstat (limited to 'main/open-vm-tools-vserver')
-rw-r--r-- | main/open-vm-tools-vserver/APKBUILD | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/main/open-vm-tools-vserver/APKBUILD b/main/open-vm-tools-vserver/APKBUILD index 06d2a48c65..eca0b4db05 100644 --- a/main/open-vm-tools-vserver/APKBUILD +++ b/main/open-vm-tools-vserver/APKBUILD @@ -2,24 +2,36 @@ _flavor=vserver _realname=open-vm-tools -_mypkgrel=4 +_name=$_realname-$_flavor +_kver=3.0.8 +_kpkgrel=0 +_myvsver=vs2.3.1 +_mypkgrel=0 + +_realver=2011.09.23 +_realsubver=491607 # source open-vm-tools version -if [ -f ../../main/$_realname/APKBUILD ]; then - . ../../main/$_realname/APKBUILD +if [ -f ../$_realname/APKBUILD ]; then + . ../$_realname/APKBUILD + [ "$_realver" != "$pkgver" ] && die "please set _realver to $pkgver" + [ "$_realsubver" != "$_pkgsubver" ] \ + && die "please set _realsubver to $_pkgsubver" fi -_realver="$pkgver" -_realsubver="$_pkgsubver" - # source the kernel version -if [ -f ../../main/linux-${_flavor}/APKBUILD ]; then - . ../../main/linux-${_flavor}/APKBUILD +if [ -f ../linux-${_flavor}/APKBUILD ]; then + . ../linux-${_flavor}/APKBUILD + [ "$_kver" != "$pkgver" ] && die "$_name: please set _kver to $pkgver" + [ "$_kpkgrel" != "$pkgrel" ] && die "$_name: please set _kpkgrel to $pkgrel" + [ "$_myvsver" != "$_vsver" ] && die "$_name: please set _myvsver to $_vsver" fi -_kernelver="$pkgver-r$pkgrel" -_kpkgrel=$pkgrel +_abi_release=${_kver}-$_vsver +_kernelver="$_kver-r$_kpkgrel" + pkgname="$_realname-$_flavor" +pkgver=$_kver pkgrel=$(($_kpkgrel + $_mypkgrel)) pkgdesc="The Open Virtual Machine Tools are the open source implementation of VMware Tools." |