summaryrefslogtreecommitdiffstats
path: root/main/acf-provisioning-polycom/APKBUILD
blob: b186c483fa05b272b678b9201387278b4bf8b1cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-provisioning-polycom
pkgver=3.3.1f
pkgrel=1
pkgdesc="Files for provisioning Polycom IP phones"
url="http://www.polycom.com/products/voice/index.html"
arch="noarch"
license="AS IS"
depends=""
makedepends=""
source="http://downloads.polycom.com/voice/voip/uc/UC_Software_3_3_1F_release_sig_split.zip
http://downloads.polycom.com/voice/voip/sp_ss_bootrom/spip_ssip_BootROM_4_3_0_release_sig.zip
000000000000.cfg.patch
000000000000-phone.cfg
000000000000-web.cfg
000000000000-directory.xml"
subpackages=""

prepare() {
	local i
	cd "$srcdir"
	for i in $source; do
		case $i in
		*.patch) msg "Applying ${i}"; patch -p1 -i $i || return 1;;
		esac
	done
}

package() {
	cd "$srcdir"
	mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Polycom
	mkdir -p "$pkgdir"/var/www/provisioning/htdocs/log
	cp -r *.ld *.wav SoundPointIPLocalization 000000000000.cfg "$pkgdir"/var/www/provisioning/htdocs
	cp 000000000000-directory.xml 000000000000-phone.cfg 000000000000-web.cfg "$pkgdir"/var/www/provisioning/htdocs/Polycom
}

md5sums="33884c6f8741c2024bf56f3e9d3a6063  UC_Software_3_3_1F_release_sig_split.zip
f1a7ba343c83bffff9dd0484e6ad5c7d  spip_ssip_BootROM_4_3_0_release_sig.zip
db8c82b74bf00f3bd92fa193707d2ed0  000000000000.cfg.patch
2c32486b7c9d692326fd6270664eac01  000000000000-phone.cfg
2c32486b7c9d692326fd6270664eac01  000000000000-web.cfg
4a6ff93b944a710da0c3eb99938f42cc  000000000000-directory.xml"