wok annotate awesome/receipt @ rev 3098
awesome: update build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 17 15:14:53 2009 +0200 (2009-05-17) |
parents | 3a4d65af326e |
children | fbb5d580ddc3 |
rev | line source |
---|---|
mallory@2687 | 1 # SliTaz package receipt. |
mallory@2687 | 2 |
mallory@2687 | 3 PACKAGE="awesome" |
mallory@2687 | 4 VERSION="3.2.1" |
mallory@2687 | 5 CATEGORY="x-window" |
mallory@2687 | 6 SHORT_DESC="awesome is a highly configurable, next generation framework window manager for X." |
mallory@2687 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@2758 | 8 DEPENDS="xorg-libX11 libxcb xcb-util lua pango cairo-xcb imlib2 dbus libev" |
pascal@3098 | 9 BUILD_DEPENDS="cmake xorg-libX11-dev libxcb-dev xcb-util-dev lua-dev pango-dev cairo-xcb-dev imlib2-dev dbus-dev libev-dev gperf cairo-xcb" |
mallory@2687 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mallory@2687 | 11 WEB_SITE="http://awesome.naquadah.org" |
mallory@2687 | 12 WGET_URL="$WEB_SITE/download/$TARBALL" |
mallory@2687 | 13 |
mallory@2687 | 14 # Rules to configure and make the package. |
mallory@2687 | 15 compile_rules() |
mallory@2687 | 16 { |
mallory@2687 | 17 cd $src |
mallory@2687 | 18 cmake -DCMAKE_INSTALL_PREFIX=/usr -DXDG_CONFIG_DIR=/etc/xdg . |
pascal@2758 | 19 make && |
mallory@2687 | 20 make DESTDIR=_pkg install |
mallory@2687 | 21 |
mallory@2687 | 22 } |
mallory@2687 | 23 |
mallory@2687 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2687 | 25 genpkg_rules() |
mallory@2687 | 26 { |
mallory@2687 | 27 mkdir -p $fs/etc |
mallory@2687 | 28 cp -a $_pkg/etc $fs/ |
mallory@2687 | 29 mkdir -p $fs/usr |
mallory@2687 | 30 cp -a $_pkg/usr/bin $fs/usr |
mallory@2687 | 31 cp -a $_pkg/usr/share $fs/usr |
mallory@2687 | 32 } |
mallory@2687 | 33 |