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

Tiny edits in order to removing *.la
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 04 12:25:12 2018 +0300 (2018-04-04)
parents c0521c689857
children 835b3b8ce6ac
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@20456 10
psychomaniak@19217 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19217 12 WGET_URL="$WEB_SITE/compiz/releases/download/v$VERSION/compiz-$VERSION.tar.xz"
pascal@11219 13
psychomaniak@19217 14 BUILD_DEPENDS="xorg-dev intltool librsvg-dev libxslt-dev pango-dev libtool \
al@20502 15 startup-notification-dev mesa-dev file dbus-dev dbus-glib-dev cairo-dev \
al@20502 16 util-linux-uuid-dev expat-dev xorg-libxshmfence-dev glu-dev \
al@20492 17 xorg-xcb-util-dev"
al@20456 18 SPLIT="compiz-core-dev"
pankso@12405 19
al@20456 20 compile_rules() {
al@20456 21 ./configure \
al@20456 22 --enable-shared \
al@20456 23 --enable-librsvg \
al@20456 24 --enable-dbus \
al@20456 25 --enable-dbus-glib \
al@20456 26 --enable-glib \
al@20456 27 --disable-static \
al@20456 28 --disable-inotify &&
al@20547 29 make && make install || return 1
al@20547 30
al@20547 31 sed 's|bash|sh|' -i $install/usr/bin/compiz-decorator
pascal@11219 32 }
pascal@11219 33
al@20456 34 genpkg_rules() {
al@20456 35 case $PACKAGE in
al@20456 36 compiz-core)
al@20547 37 copy @std
al@20502 38 DEPENDS="librsvg libxslt mesa glu dbus dbus-glib \
al@20456 39 startup-notification compiz-bcop compiz-libcompizconfig"
al@20456 40 ;;
al@20456 41 *-dev)
al@20547 42 copy @dev
al@20456 43 ;;
al@20456 44 esac
pascal@11219 45 }