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

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 03:33:54 2018 +0200 (2018-03-02)
parents 30522fa01aed
children 4c1ed6983d05
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 \
psychomaniak@19217 15 startup-notification-dev mesa-dev file dbus-dev dbus-glib-dev cairo-dev \
psychomaniak@19907 16 util-linux-uuid-dev expat-dev xorg-libxshmfence-dev libglu-mesa-dev "
al@20456 17 SPLIT="compiz-core-dev"
pankso@12405 18
al@20456 19 compile_rules() {
al@20456 20 ./configure \
al@20456 21 --prefix=/usr \
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 &&
psychomaniak@19217 29 make && make install
pascal@11219 30 }
pascal@11219 31
al@20456 32 genpkg_rules() {
al@20456 33 case $PACKAGE in
al@20456 34 compiz-core)
al@20456 35 mkdir -p $fs/usr/lib $fs/usr/share/locale
al@20456 36 cp -a $install/usr/bin $fs/usr
al@20456 37 cp -a $install/usr/lib/compiz $fs/usr/lib
al@20456 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@20456 39 cp -a $install/usr/share/compiz $fs/usr/share
al@20456 40 cp -a $install/usr/share/icons $fs/usr/share
al@20456 41 cp -a $install/usr/share/locale/ru $fs/usr/share
al@20456 42 rm -rf $fs/usr/lib/compiz/*.la
al@20456 43 sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
al@20456 44 DEPENDS="librsvg libxslt mesa libglu-mesa dbus dbus-glib \
al@20456 45 startup-notification compiz-bcop compiz-libcompizconfig"
al@20456 46 ;;
al@20456 47 *-dev)
al@20456 48 mkdir -p $fs/usr/lib/compiz $fs/usr/share/compiz
al@20456 49 cp -a $install/usr/include $fs/usr
al@20456 50 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@20456 51 cp -a $install/usr/lib/*.la $fs/usr/lib
al@20456 52 cp -a $install/usr/lib/compiz/*.la $fs/usr/lib/compiz/
al@20456 53 ;;
al@20456 54 esac
pascal@11219 55 }