wok view cairo-compmgr-core/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (23 months ago)
parents ac8ca9758df1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-compmgr-core"
4 VERSION="0.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Cairo composite manager - core files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/gandalfn/Cairo-Composite-Manager"
10 SOURCE="cairo-compmgr"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://ftp.vim.org/os/Linux/distr/zenwalk/source/extra/xap/$SOURCE/$TARBALL"
14 DEPENDS="libbfd libcairo-compmgr0"
15 BUILD_DEPENDS="xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXext-dev \
16 xorg-libXi-dev xorg-libSM-dev cairo-dev pixman-dev gtk+-dev vala \
17 xorg-libICE-dev xorg-libX11-dev util-linux-uuid-dev"
19 current_version()
20 {
21 wget -O - https://github.com/gandalfn/Cairo-Composite-Manager/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # make needed pkg-config file
29 ln -s $(ls /usr/lib/pkgconfig/libvala-*.pc | sed q) /usr/lib/pkgconfig/vala-1.0.pc
31 # localization
32 cp -a $stuff/cairo-compmgr.pot $src/po
33 cp -a $stuff/ru.po $src/po
35 export LDFLAGS="$LDFLAGS $(pkg-config --libs ice gmodule-2.0 x11)"
37 ./configure $CONFIGURE_ARGS &&
38 make &&
39 make install
40 rm -f $install/usr/share/applications/*
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p \
47 $fs/usr/bin \
48 $fs/usr/share/applications \
49 $fs/usr/share/cairo-compmgr/ui \
50 $fs/usr/share/cairo-compmgr/schemas
51 cp -a $install/usr/bin/cairo-compmgr $fs/usr/bin
52 cp -a $install/usr/share/pixmaps $fs/usr/share
53 cp -a $install/usr/share/man $fs/usr/share
54 cp -a $stuff/cairo-compmgr.desktop $fs/usr/share/applications
55 cp -a $install/usr/share/cairo-compmgr/ui/ccm-preferences.ui \
56 $fs/usr/share/cairo-compmgr/ui
57 cp -a $install/usr/share/cairo-compmgr/schemas/ccm-display.schema-key \
58 $fs/usr/share/cairo-compmgr/schemas
59 }