SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cmake"

# SliTaz package receipt.

PACKAGE="cmake"
VERSION="2.8.5"
CATEGORY="development"
SHORT_DESC="Cross-platform Make."
MAINTAINER="pankso@slitaz.org"
DEPENDS="openssl libidn gcc-lib-base"
BUILD_DEPENDS="ncurses-dev gcc-lib-base"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.cmake.org/"
WGET_URL="http://www.cmake.org/files/v2.8/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./bootstrap \
        --prefix=/usr \
        --docdir=/share/doc/$PACKAGE \
        --mandir=/share/man &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $_pkg/usr $fs
    rm -rf $fs/usr/share/man
}

pre_install()
{
    rm -rf $1/usr/share/cmake-2.4
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)