wok view automoc4/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | c15fedfb9582 |
children |
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="https://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 }