# SliTaz package receipt. PACKAGE="automake" VERSION="1.16.1" CATEGORY="development" SHORT_DESC="Tool for automatically generating 'Makefile.in'." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/automake/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" DEPENDS="autoconf" BUILD_DEPENDS="autoconf bison flex" # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() { cd $src ./configure && make && make install } # Rules to configure and make the package. compile_rules() { cd $src ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/aclocal-${VERSION%.*} $fs/usr/share cp -a $_pkg/usr/share/automake-${VERSION%.*} $fs/usr/share # Symlink instead full binary ln -sf aclocal $fs/usr/bin/aclocal-${VERSION%.*} ln -sf automake $fs/usr/bin/automake-${VERSION%.*} } # Clean old files. pre_install() { rm -rf /usr/share/automake-* rm -rf /usr/share/aclocal-* }