wok-6.x annotate orage/receipt @ rev 10757

nanochess: get source in $SOURCES_REPOSITORY
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 31 11:34:51 2011 +0200 (2011-05-31)
parents e967b77dc4aa
children 8e92fa1484da
rev   line source
erjo@4144 1 # SliTaz package receipt.
erjo@4144 2
erjo@4144 3 PACKAGE="orage"
slaxemulator@8901 4 VERSION="4.8.1"
erjo@4144 5 CATEGORY="office"
erjo@4144 6 SHORT_DESC="Xfce calendar"
erjo@4144 7 MAINTAINER="erjo@slitaz.org"
pascal@6403 8 DEPENDS="libxfcegui4 libnotify dbus atk libgio pango cairo libnotify \
pankso@5337 9 xfce4-panel atk libgio pango cairo xfce4-panel"
pascal@10526 10 BUILD_DEPENDS="libxfcegui4-dev xfce4-panel-dev libnotify-dev dbus-dev intltool popt-dev"
erjo@4144 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4144 12 WEB_SITE="http://www.xfce.org"
slaxemulator@8108 13 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
jozee@4970 14 TAGS="office"
erjo@4144 15
erjo@4144 16 # Rules to configure and make the package.
erjo@4144 17 compile_rules()
erjo@4144 18 {
erjo@4144 19 cd $src
erjo@4144 20 ./configure \
erjo@4144 21 --prefix=/usr \
erjo@4144 22 --enable-dbus \
erjo@4144 23 --enable-libnotify \
slaxemulator@8108 24 --libexecdir=/usr/lib/$PACKAGE \
erjo@4144 25 $CONFIGURE_ARGS &&
erjo@4144 26 make && make DESTDIR=$PWD/_pkg install
erjo@4144 27 }
erjo@4144 28
erjo@4144 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4144 30 genpkg_rules()
erjo@4144 31 {
erjo@4144 32 mkdir -p $fs/usr/share
erjo@4144 33 cp -a $_pkg/usr/bin $fs/usr
pascal@4212 34 cp -a $_pkg/usr/lib $fs/usr
erjo@4144 35 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@4144 36 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
erjo@4144 37 cp -a $_pkg/usr/share/orage $fs/usr/share
erjo@4144 38 cp -a $_pkg/usr/share/orage $fs/usr/share
erjo@4144 39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
erjo@4144 40 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@4144 41 }
erjo@4144 42