wok view automoc4/receipt @ rev 25509
sgmixer: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 13:14:45 2023 +0000 (21 months ago) |
parents | 41a539cfe5f8 |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="automoc4"
4 VERSION="0.9.88"
5 CATEGORY="x-window"
6 SHORT_DESC="CMake automatic MOC Generation."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.kde.org/"
11 WGET_URL="https://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="cmake libQtCore gcc-lib-base"
14 BUILD_DEPENDS="cmake qmake Qt4-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/KDE/automoc/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }