wok-next diff extended-actions/receipt @ rev 21206

try to build assaultcube again
author Hans-G?nter Theisgen
date Mon Dec 02 09:25:03 2019 +0100 (2019-12-02)
parents 65f5c0b7dcd4
children
line diff
     1.1 --- a/extended-actions/receipt	Fri Sep 07 01:53:20 2018 +0300
     1.2 +++ b/extended-actions/receipt	Mon Dec 02 09:25:03 2019 +0100
     1.3 @@ -7,29 +7,29 @@
     1.4  MAINTAINER="al.bobylev@gmail.com"
     1.5  LICENSE="GPL3"
     1.6  WEB_SITE="https://launchpad.net/extended-actions"
     1.7 +
     1.8  BRANCH="5"
     1.9  TARBALL="$PACKAGE-$BRANCH.tar.bz2"
    1.10  WGET_URL="bzr|lp:extended-actions"
    1.11  
    1.12 -DEPENDS="libgee glib"
    1.13  BUILD_DEPENDS="bzr cmake vala glib-dev libgee-dev"
    1.14  
    1.15  TODO="Setup extended-actions specific to SliTaz"
    1.16  
    1.17 -# Rules to configure and make the package.
    1.18 -compile_rules()
    1.19 -{
    1.20 -	# gee-1.0 is old while gee-0.8 is latest ;)
    1.21 +compile_rules() {
    1.22 +	# gee-1.0 is old while gee-0.8 is latest ;-)
    1.23  	sed -i 's|gee-1.0|gee-0.8|g' $(grep -l gee-1.0 $(find . -type f))
    1.24  
    1.25 -	mkdir build && cd build &&
    1.26 -	cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
    1.27 +	mkdir build
    1.28 +	cd    build
    1.29 +	cmake \
    1.30 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.31 +		.. &&
    1.32  	make &&
    1.33  	make DESTDIR=$install install
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 +genpkg_rules() {
    1.40  	cp -a $install/* $fs
    1.41 +	DEPENDS="libgee glib"
    1.42  }