wok-current annotate automoc4/receipt @ rev 25724
Up audacity to 3.0.2, fix openssh/wxWidgets build
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jun 25 14:51:14 2024 +0000 (7 months ago) |
parents | c15fedfb9582 |
children | 5926178cd6fa |
rev | line source |
---|---|
pankso@4042 | 1 # SliTaz package receipt. |
pankso@4042 | 2 |
pankso@4042 | 3 PACKAGE="automoc4" |
pankso@4042 | 4 VERSION="0.9.88" |
pankso@4042 | 5 CATEGORY="x-window" |
pankso@4042 | 6 SHORT_DESC="CMake automatic MOC Generation." |
pankso@4042 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
pankso@4042 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25540 | 10 WEB_SITE="https://kde.org/" |
pascal@25443 | 11 WGET_URL="https://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL" |
pascal@15379 | 12 |
pascal@4998 | 13 DEPENDS="cmake libQtCore gcc-lib-base" |
pankso@4042 | 14 BUILD_DEPENDS="cmake qmake Qt4-dev" |
pankso@4042 | 15 |
pascal@24759 | 16 # What is the latest version available today? |
pascal@24759 | 17 current_version() |
pascal@24759 | 18 { |
pascal@24759 | 19 wget -O - https://github.com/KDE/automoc/tags 2>/dev/null | \ |
pascal@24759 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24759 | 21 } |
pascal@24759 | 22 |
pankso@4042 | 23 # Rules to configure and make the package. |
pankso@4042 | 24 compile_rules() |
pankso@4042 | 25 { |
pankso@4042 | 26 cd $src |
pankso@4042 | 27 cmake . -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@4042 | 28 make && |
pascal@15379 | 29 make DESTDIR=$DESTDIR install |
pankso@4042 | 30 } |
pankso@4042 | 31 |
pankso@4042 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4042 | 33 genpkg_rules() |
pankso@4042 | 34 { |
pascal@15379 | 35 cp -a $install/usr $fs |
pankso@4042 | 36 } |