wok-next annotate ovz-web-panel/receipt @ rev 21661

updated fonttosfnt (1.0.5 -> 1.1.0)
author Hans-G?nter Theisgen
date Sat Jun 27 13:41:53 2020 +0100 (2020-06-27)
parents d5aab818505e
children
rev   line source
erjo@8059 1 # SliTaz package receipt.
erjo@8059 2
erjo@8059 3 PACKAGE="ovz-web-panel"
erjo@8059 4 VERSION="1.7"
slaxemulator@8856 5 CATEGORY="network"
erjo@8059 6 SHORT_DESC="GUI web-based frontend for OpenVZ"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15610 8 LICENSE="GPL2"
pascal@21157 9 WEB_SITE="http://owp.softunity.com.ru/"
al@21020 10
al@21020 11 TARBALL="$PACKAGE-$VERSION.tgz"
al@20906 12 WGET_URL="http://ovz-web-panel.googlecode.com/files/$TARBALL" # FIXME
erjo@8059 13
al@21020 14 compile_rules() {
al@21020 15 mkdir $install
al@21020 16 mv * $install 2>/dev/null || true
erjo@8059 17 }
erjo@8059 18
al@21020 19 genpkg_rules() {
erjo@8059 20 mkdir -p $fs/usr/share \
al@18734 21 $fs/etc
al@18734 22
pascal@15603 23 cp -a $install $fs/usr/share/$PACKAGE
erjo@8059 24 cp -a $fs/usr/share/$PACKAGE/config/owp.conf.sample $fs/etc/owp.conf
pascal@15610 25 cp -a $fs/usr/share/$PACKAGE/utils/hw-daemon/hw-daemon.ini.sample $fs/usr/share/$PACKAGE/utils/hw-daemon/hw-daemon.ini
al@18734 26
erjo@8059 27 # Set secret key
erjo@8059 28 sed -i 's/secret/2918b7aafc1f5f753ee232a7e7f78175/' \
erjo@8059 29 $fs/usr/share/$PACKAGE/utils/hw-daemon/hw-daemon.ini
al@18734 30
erjo@8059 31 # Set program homedir
erjo@8059 32 sed -i 's!/opt!/usr/share!' $fs/etc/owp.conf
al@18734 33
erjo@8059 34 # Fix perms
erjo@8059 35 chmod 755 $fs/usr/share/$PACKAGE/script/owp
al@18734 36
erjo@9424 37 # Cleaning.
erjo@9424 38 rm -f $fs/usr/share/$PACKAGE/done.*.u
al@21020 39
al@21020 40 DEPENDS="ruby ruby-sqlite3"
erjo@8059 41 }
erjo@8059 42
al@21020 43 post_install() {
erjo@8059 44 chroot "$1/" ln -s /usr/share/$PACKAGE/script/owp /etc/init.d/owp
erjo@8059 45 }