wok diff awesome/receipt @ rev 17381
Add incron
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 26 14:59:55 2014 +0100 (2014-11-26) |
parents | 8af9cc5386a5 |
children | 5d53e8ccbc8d |
line diff
1.1 --- a/awesome/receipt Thu Aug 15 08:25:48 2013 +0000 1.2 +++ b/awesome/receipt Wed Nov 26 14:59:55 2014 +0100 1.3 @@ -3,30 +3,29 @@ 1.4 PACKAGE="awesome" 1.5 VERSION="3.5.1" 1.6 CATEGORY="x-window" 1.7 -SHORT_DESC="awesome is a highly configurable, next generation framework window manager for X." 1.8 +SHORT_DESC="Highly configurable framework window manager" 1.9 MAINTAINER="mallory@sweetpeople.org" 1.10 LICENSE="GPL2" 1.11 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.12 -WEB_SITE="http://awesome.naquadah.org" 1.13 -WGET_URL="$WEB_SITE/download/$TARBALL" 1.14 +WEB_SITE="http://awesome.naquadah.org/" 1.15 +WGET_URL="${WEB_SITE}download/$TARBALL" 1.16 TAGS="window-manager wm" 1.17 1.18 -DEPENDS="xorg-libX11 libxcb xcb-util xcb-util-keysyms xcb-util-image xcb-util-wm \ 1.19 -lua pango cairo imlib2 dbus libev libxdg-basedir startup-notification \ 1.20 -freetype fontconfig libpng libxdg-basedir" 1.21 -BUILD_DEPENDS="cmake xorg-libX11-dev libxcb-dev xcb-util-dev xcb-util-keysyms-dev \ 1.22 -xcb-util-image-dev xcb-util-wm-dev lua-dev pango-dev cairo-dev imlib2-dev \ 1.23 -dbus-dev libev-dev gperf cairo libxdg-basedir-dev startup-notification-dev \ 1.24 -imagemagick pkg-config freetype-dev fontconfig-dev libpng-dev libxdg-basedir-dev \ 1.25 -openexr libltdl gdk-pixbuf-dev" 1.26 +DEPENDS="cairo dbus gdk-pixbuf libxdg-basedir lgi lua startup-notification \ 1.27 +xcb-util-image xcb-util-keysyms xcb-util-wm xorg-libXcursor" 1.28 +BUILD_DEPENDS="cmake xorg-libX11-dev libxcb-dev xcb-util-dev \ 1.29 +xcb-util-keysyms-dev xcb-util-image-dev xcb-util-wm-dev lua-dev pango-dev \ 1.30 +cairo-dev imlib2-dev dbus-dev libev-dev gperf cairo libxdg-basedir-dev \ 1.31 +startup-notification-dev imagemagick pkg-config freetype-dev fontconfig-dev \ 1.32 +libpng-dev libxdg-basedir-dev openexr libltdl gdk-pixbuf-dev \ 1.33 +xorg-libXcursor-dev lgi" 1.34 1.35 # Rules to configure and make the package. 1.36 compile_rules() 1.37 { 1.38 - cd $src 1.39 export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl" 1.40 - export AWESOME_IGNORE_LGI=1 1.41 - make CMAKE_ARGS=" -DPREFIX=/usr -DXDG_CONFIG_DIR=/etc/xdg \ 1.42 + make CMAKE_ARGS=" -DCMAKE_INSTALL_PREFIX:PATH=/usr \ 1.43 + -DXDG_CONFIG_DIR=/etc/xdg \ 1.44 -DCMAKE_BUILD_TYPE=RELEASE" && 1.45 make install 1.46 } 1.47 @@ -34,11 +33,16 @@ 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 genpkg_rules() 1.50 { 1.51 - mkdir -p $fs/etc 1.52 - cp -a $install/etc $fs/ 1.53 - mkdir -p $fs/usr 1.54 - cp -a $install/usr/local/bin $fs/usr 1.55 - cp -a $install/usr/local/share $fs/usr 1.56 + cp -a $install/* $fs 1.57 + 1.58 + # move lua scripts to lua directory 1.59 + mkdir -p $fs/usr/share/lua 1.60 + mv $fs/usr/share/awesome/lib $fs/usr/share/lua/5.2 1.61 + 1.62 + # add pango typelibs 1.63 + # (not need to install pango-dev with full stack of dev packages) 1.64 + mkdir -p $fs/usr/lib 1.65 + cp -a $WOK/pango/install/usr/lib/girepository-1.0 $fs/usr/lib 1.66 } 1.67 1.68 post_install() 1.69 @@ -59,4 +63,3 @@ 1.70 sed -i s/,$PACKAGE// $1/etc/slim.conf 1.71 fi 1.72 } 1.73 -