wok view gource/receipt @ rev 24894
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 08 10:34:41 2022 +0000 (2022-04-08) |
parents | 25abe1edd77f |
children | 20ad21d5532c |
line source
1 # SliTaz package receipt.
3 PACKAGE="gource"
4 VERSION="0.51"
5 CATEGORY="development"
6 SHORT_DESC="Software version control visualization."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://gource.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/acaudwell/Gource/releases/download/$PACKAGE-$VERSION/$TARBALL"
14 DEPENDS="freetype ftgl glew libboost-filesystem libsdl2 libsdl2-image pcre"
15 BUILD_DEPENDS="freetype-dev ftgl-dev glew-dev glm libboost-filesystem-dev
16 libsdl2-dev libsdl2-image-dev mesa-dev pcre-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/gource-\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/gource $fs/usr/share
39 }