wok annotate gource/receipt @ rev 16264

Add some any arch packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 05 10:12:34 2014 +0000 (2014-04-05)
parents 6b09507225ec
children e3f377fbc5f0
rev   line source
slaxemulator@9430 1 # SliTaz package receipt.
slaxemulator@9430 2
slaxemulator@9430 3 PACKAGE="gource"
slaxemulator@13080 4 VERSION="0.38"
slaxemulator@9430 5 CATEGORY="development"
slaxemulator@9430 6 SHORT_DESC="software version control visualization"
slaxemulator@9430 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14999 8 LICENSE="GPL3"
slaxemulator@9430 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@9430 10 WEB_SITE="http://code.google.com/p/gource/"
slaxemulator@9430 11 WGET_URL="http://gource.googlecode.com/files/$TARBALL"
slaxemulator@9430 12
slaxemulator@13080 13 DEPENDS="ftgl libsdl libsdl-image pcre glew freetype libboost-filesystem"
slaxemulator@13080 14 BUILD_DEPENDS="mesa-dev ftgl-dev libsdl-image-dev pcre-dev glew-dev \
slaxemulator@13080 15 libsdl-dev freetype-dev libboost-filesystem-dev glm"
pascal@10505 16
slaxemulator@9430 17 # Rules to configure and make the package.
slaxemulator@9430 18 compile_rules()
slaxemulator@9430 19 {
slaxemulator@9430 20 cd $src
pascal@13142 21 sed -i 's/boost::filesystem3::/boost::filesystem::/' src/logmill.cpp
slaxemulator@10124 22 ./configure $CONFIGURE_ARGS &&
slaxemulator@10124 23 make && make install
slaxemulator@9430 24 }
slaxemulator@9430 25
slaxemulator@9430 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9430 27 genpkg_rules()
slaxemulator@9430 28 {
slaxemulator@9430 29 mkdir -p $fs/usr/share
pascal@13796 30 cp -a $install/usr/bin $fs/usr
pascal@13796 31 cp -a $install/usr/share/gource $fs/usr/share
slaxemulator@9430 32 }
slaxemulator@9430 33