SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "automoc4"

# SliTaz package receipt.

PACKAGE="automoc4"
VERSION="0.9.88"
CATEGORY="x-window"
SHORT_DESC="CMake automatic MOC Generation."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://kde.org/"
WGET_URL="https://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="cmake libQtCore gcc-lib-base"
BUILD_DEPENDS="cmake qmake Qt4-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/KDE/automoc/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)