wok-6.x view picoblog/receipt @ rev 24751
cairo-gl: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:24:41 2022 +0100 (2022-03-16) |
parents | 6a937d641b10 |
children | 65ff25c4de90 |
line source
1 # SliTaz package receipt.
3 PACKAGE="picoblog"
4 VERSION="1.0"
5 CATEGORY="network"
6 SHORT_DESC="Tiny blog engine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION"
10 WEB_SITE="http://dev.kd2.org/picoblog/"
11 WGET_URL="http://svn.kd2.org/svn/misc/apps/picoblog/index.php"
12 HOST_ARCH="any"
13 TAGS="blog"
15 DEPENDS="php"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WGET_URL 2> /dev/null | \
21 sed '/const VERSION/!d;s|.*= [^0-9]||;s|[^0-9\.].*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR/var/www/$PACKAGE 2> /dev/null
28 cp "$SOURCES_REPOSITORY/$TARBALL" $DESTDIR/var/www/$PACKAGE/index.php
29 chown -R 80.80 $DESTDIR/var/www/$PACKAGE
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }