wok-current annotate compiz-libcompizconfig/receipt @ rev 20399

Add code2 (speech codec 0.7-3.2 Kb/s)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 27 16:09:41 2018 +0200 (2018-06-27)
parents bc7382eef826
children d37d15244372
rev   line source
pascal@11219 1 # SliTaz package receipt.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-libcompizconfig"
psychomaniak@19217 4 SOURCE="libcompizconfig"
psychomaniak@19217 5 VERSION="0.8.12.1"
pascal@11219 6 CATEGORY="x-window"
pascal@11219 7 SHORT_DESC="Compiz configuration library."
pascal@11219 8 MAINTAINER="pankso@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
psychomaniak@19217 10 TARBALL="$SOURCE-$VERSION.tar.xz"
psychomaniak@19217 11 WEB_SITE="https://github.com/compiz-reloaded"
psychomaniak@19217 12 WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
pascal@11219 13
pankso@12417 14 DEPENDS="compiz-core protobuf glib libgio libxml2"
psychomaniak@19217 15 BUILD_DEPENDS="xorg-dev compiz-core-dev glibc-dev libxml2-dev mesa-dev \
psychomaniak@19217 16 libxslt-dev startup-notification-dev protobuf-dev glib-dev libgio-dev libtool"
pankso@12405 17
pascal@11219 18 # Rules to configure and make the package.
pascal@11219 19 compile_rules()
pascal@11219 20 {
psychomaniak@19217 21 ./configure --sysconfdir=/etc
psychomaniak@19217 22 make && make install
pascal@11219 23 }
pascal@11219 24
pascal@11219 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11219 26 genpkg_rules()
pascal@11219 27 {
pascal@11219 28 mkdir -p $fs/usr/lib $fs/usr/share
psychomaniak@19217 29 cp -a $install/etc $fs
pankso@12405 30 cp -a $install/usr/lib/compiz* $fs/usr/lib
pankso@12405 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
psychomaniak@19217 32 cp -a $install/usr/share/compiz $fs/usr/share
psychomaniak@19217 33 find $fs -name 'lib*a' -delete
pascal@11219 34 }