wok-undigest view wwwsqldesigner/receipt @ rev 1230

python3: sqlite3-dev replaced by sqlite-dev
author Hans-G?nter Theisgen
date Wed Sep 09 14:09:02 2020 +0100 (2020-09-09)
parents e334f9895a64
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wwwsqldesigner"
4 VERSION="2.6"
5 CATEGORY="development"
6 SHORT_DESC="Js SQL designer"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://ondras.zarovi.cz/sql/demo/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 mkdir -p $DESTDIR/var/www/$PACKAGE $DESTDIR/usr/share/applications
15 cd $DESTDIR/var/www/$PACKAGE
16 for i in license.txt index.html ; do
17 wget $WEB_SITE$i
18 for j in $(sed '/href="/!d;s/.*href="\([^"]*\)".*/\1/' $i) \
19 $(sed '/src="/!d;s/.*src="\([^"]*\)".*/\1/' $i) ; do
20 case "$j" in
21 *tp:/*);;
22 *) [ -d $(dirname $j) ] || mkdir -p $(dirname $j)
23 wget -O $j $WEB_SITE$j ;;
24 esac
25 done
26 done
27 cat > $DESTDIR/usr/share/applications/$PACKAGE.desktop <<EOT
28 [Desktop Entry]
29 Type=Application
30 Name=$PACKAGE
31 Exec=browser file:///var/www/$PACKAGE/index.html
32 Terminal=false
33 Categories=Development;
34 Comment=$SHORT_DESC
35 EOT
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs/
42 }