wok-next annotate compiz-core/receipt @ rev 21010

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 12 16:40:30 2018 +0300 (2018-10-12)
parents 835b3b8ce6ac
children d5aab818505e
rev   line source
al@20456 1 # SliTaz package receipt v2.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-core"
psychomaniak@19217 4 VERSION="0.8.12.3"
pascal@11219 5 CATEGORY="x-window"
al@20456 6 SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect"
pascal@11219 7 MAINTAINER="pankso@slitaz.org"
pascal@15022 8 LICENSE="MIT GPL LGPL"
al@20456 9 WEB_SITE="https://github.com/compiz-reloaded"
al@20882 10 REPOLOGY="compiz"
al@20456 11
psychomaniak@19217 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19217 13 WGET_URL="$WEB_SITE/compiz/releases/download/v$VERSION/compiz-$VERSION.tar.xz"
pascal@11219 14
psychomaniak@19217 15 BUILD_DEPENDS="xorg-dev intltool librsvg-dev libxslt-dev pango-dev libtool \
al@20502 16 startup-notification-dev mesa-dev file dbus-dev dbus-glib-dev cairo-dev \
al@20502 17 util-linux-uuid-dev expat-dev xorg-libxshmfence-dev glu-dev \
al@20492 18 xorg-xcb-util-dev"
al@20456 19 SPLIT="compiz-core-dev"
pankso@12405 20
al@20456 21 compile_rules() {
al@20456 22 ./configure \
al@20456 23 --enable-shared \
al@20456 24 --enable-librsvg \
al@20456 25 --enable-dbus \
al@20456 26 --enable-dbus-glib \
al@20456 27 --enable-glib \
al@20456 28 --disable-static \
al@20456 29 --disable-inotify &&
al@20569 30 fix libtool &&
al@20569 31 make &&
al@20569 32 make install || return 1
al@20547 33
al@20547 34 sed 's|bash|sh|' -i $install/usr/bin/compiz-decorator
pascal@11219 35 }
pascal@11219 36
al@20456 37 genpkg_rules() {
al@20456 38 case $PACKAGE in
al@20456 39 compiz-core)
al@20547 40 copy @std
al@20502 41 DEPENDS="librsvg libxslt mesa glu dbus dbus-glib \
al@20456 42 startup-notification compiz-bcop compiz-libcompizconfig"
al@20456 43 ;;
al@20456 44 *-dev)
al@20547 45 copy @dev
al@20456 46 ;;
al@20456 47 esac
pascal@11219 48 }