wok-next view compiz-plugins-main/receipt @ rev 20502
Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 00:27:34 2018 +0200 (2018-03-16) |
parents | a7b1395df64a |
children | da9e80c5d4bb |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="compiz-plugins-main"
4 VERSION="0.8.12.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz main plugins"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/compiz-reloaded"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="xorg-dev compiz-core-dev libnotify-dev libxslt-dev \
15 startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
16 compiz-libcompizconfig compiz-libcompizconfig-dev compiz-bcop glu-dev \
17 util-linux-uuid-dev libtool util-linux-getopt xorg-libxshmfence-dev expat-dev"
18 SPLIT="compiz-plugins-main-dev"
20 compile_rules() {
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc &&
24 make && make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 compiz-plugins-main)
30 mkdir -p $fs/usr/lib $fs/usr/share/locale
31 cp -a $install/usr/lib/compiz $fs/usr/lib
32 cp -a $install/usr/share/compiz $fs/usr/share
33 cp -a $install/usr/share/locale/ru $fs/usr/share/locale
34 cd $fs/usr/lib/compiz; rm -f *.a *.la
35 DEPENDS="xorg-libX11 compiz-core librsvg"
36 ;;
37 *-dev)
38 mkdir -p $fs/usr/lib/compiz
39 cp -a $install/usr/include $fs/usr
40 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
41 cp -a $install/usr/lib/compiz/*a $fs/usr/lib/compiz
42 ;;
43 esac
44 }