wok rev 15128

Up awesome (3.5.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 08:25:48 2013 +0000 (2013-08-15)
parents ca348008f789
children 55489d2f9985
files awesome/receipt
line diff
     1.1 --- a/awesome/receipt	Wed Aug 14 23:04:02 2013 +0000
     1.2 +++ b/awesome/receipt	Thu Aug 15 08:25:48 2013 +0000
     1.3 @@ -1,10 +1,11 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="awesome"
     1.7 -VERSION="3.4.11"
     1.8 +VERSION="3.5.1"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="awesome is a highly configurable, next generation framework window manager for X."
    1.11  MAINTAINER="mallory@sweetpeople.org"
    1.12 +LICENSE="GPL2"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WEB_SITE="http://awesome.naquadah.org"
    1.15  WGET_URL="$WEB_SITE/download/$TARBALL"
    1.16 @@ -17,29 +18,27 @@
    1.17  xcb-util-image-dev xcb-util-wm-dev lua-dev pango-dev cairo-dev imlib2-dev \
    1.18  dbus-dev libev-dev gperf cairo libxdg-basedir-dev startup-notification-dev \
    1.19  imagemagick pkg-config freetype-dev fontconfig-dev libpng-dev libxdg-basedir-dev \
    1.20 -openexr libltdl"
    1.21 +openexr libltdl gdk-pixbuf-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -    cd $src
    1.27 -    export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl"
    1.28 -    sed -i 's|glib/gspawn|glib|' spawn.c
    1.29 -    patch -Np1 -i $stuff/0001-Normalize-icon-path-names-fixes-869.patch
    1.30 -    make CMAKE_ARGS=" -DPREFIX=/usr -DXDG_CONFIG_DIR=/etc/xdg \
    1.31 -	-DCMAKE_BUILD_TYPE=RELEASE" &&
    1.32 -    make install
    1.33 -    
    1.34 +	cd $src
    1.35 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl"
    1.36 +	export AWESOME_IGNORE_LGI=1
    1.37 +	make CMAKE_ARGS=" -DPREFIX=/usr -DXDG_CONFIG_DIR=/etc/xdg \
    1.38 +		-DCMAKE_BUILD_TYPE=RELEASE" &&
    1.39 +	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/etc
    1.46 -	cp -a $_pkg/etc $fs/
    1.47 +	cp -a $install/etc $fs/
    1.48  	mkdir -p $fs/usr
    1.49 -	cp -a $_pkg/usr/bin $fs/usr
    1.50 -	cp -a $_pkg/usr/share $fs/usr
    1.51 +	cp -a $install/usr/local/bin $fs/usr
    1.52 +	cp -a $install/usr/local/share $fs/usr
    1.53  }
    1.54  
    1.55  post_install()