wok-current view tazpanel/receipt @ rev 21763

busybox: enable CONFIG_FDISK_SUPPORT_LARGE_DISKS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 27 14:19:03 2019 +0200 (2019-06-27)
parents e1965f977a7f
children f7a13af08fc7
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="626"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz administration and configuration panel."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.slitaz.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz"
13 CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf"
15 SUGGESTED="tazinst-gui tazinst"
16 DEPENDS="busybox gettext-base libjpeg sundown"
17 BUILD_DEPENDS="gettext jsmin tidy-html5"
18 SIBLINGS="tazpanel-extra"
19 HOST_ARCH="i486 arm"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make -j 1 &&
25 make DESTDIR=$DESTDIR VERSION=$VERSION install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/etc/init.d
32 cp -a $install/* $fs
34 # Init script use tazpanel cmdline
35 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel .
36 }
38 # Pre and post install commands for Tazpkg.
39 post_install()
40 {
41 rm -f "$1"/var/cache/tazpanel/* 2> /dev/null
42 grep -qs tazpanel "$1"/etc/hosts ||
43 sed -i 's/^127.0.0.1.*/& tazpanel/' "$1"/etc/hosts
45 # Do we need TazPanel restart? It freezes when updating using web interface.
46 #[ -z "$1" ] && tazpanel restart
47 }