wok view gource/receipt @ rev 21709

ccid: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 08 10:39:23 2019 +0200 (2019-06-08)
parents e3f377fbc5f0
children 25abe1edd77f
line source
1 # SliTaz package receipt.
3 PACKAGE="gource"
4 VERSION="0.49"
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # By now (0.49) changed in source file:
22 # sed -i 's/boost::filesystem3::/boost::filesystem::/' src/logmill.cpp
24 ./configure $CONFIGURE_ARGS &&
25 make -j 1 &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/gource $fs/usr/share
35 }