wok diff compiz-libcompizconfig/receipt @ rev 20225

grub: add ext4 patch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 01 11:50:30 2018 +0100 (2018-03-01)
parents bc7382eef826
children d37d15244372
line diff
     1.1 --- a/compiz-libcompizconfig/receipt	Fri Mar 13 17:47:05 2015 +0100
     1.2 +++ b/compiz-libcompizconfig/receipt	Thu Mar 01 11:50:30 2018 +0100
     1.3 @@ -1,37 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="compiz-libcompizconfig"
     1.7 -VERSION="0.9.4"
     1.8 +SOURCE="libcompizconfig"
     1.9 +VERSION="0.8.12.1"
    1.10  CATEGORY="x-window"
    1.11  SHORT_DESC="Compiz configuration library."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://www.compiz.org/"
    1.16 -WGET_URL="http://releases.compiz.org/$VERSION/$TARBALL"
    1.17 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.18 +WEB_SITE="https://github.com/compiz-reloaded"
    1.19 +WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
    1.20  
    1.21  DEPENDS="compiz-core protobuf glib libgio libxml2"
    1.22 -BUILD_DEPENDS="xorg-dev compiz-core-dev cmake glibc-dev libxml2-dev \
    1.23 -libxslt-dev glibmm-dev startup-notification-dev libboost-dev \
    1.24 -protobuf-dev glib-dev libgio-dev"
    1.25 +BUILD_DEPENDS="xorg-dev compiz-core-dev glibc-dev libxml2-dev mesa-dev \
    1.26 +libxslt-dev startup-notification-dev protobuf-dev glib-dev libgio-dev libtool"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	mkdir build && cd build
    1.32 -	cmake \
    1.33 -		-DCMAKE_INSTALL_PREFIX="/usr" \
    1.34 -		-DCMAKE_MINIMUM_REQUIRED_VERSION="1.0" \
    1.35 -		-DCOMPIZ_DESTDIR="../../install" .. &&
    1.36 -	make && make install &&
    1.37 -	make findcompizconfig_install
    1.38 +	./configure --sysconfdir=/etc
    1.39 +	make && make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45  	mkdir -p $fs/usr/lib $fs/usr/share
    1.46 -	#cp -a $install/etc $fs
    1.47 +	cp -a $install/etc $fs
    1.48  	cp -a $install/usr/lib/compiz* $fs/usr/lib
    1.49  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.50 +	cp -a $install/usr/share/compiz $fs/usr/share
    1.51 +	find $fs -name 'lib*a' -delete
    1.52  }