# 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 }