# SliTaz package receipt. PACKAGE="yp-tools" VERSION="2.12" CATEGORY="network" SHORT_DESC="Yellow pages tools." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/" WGET_URL="$WEB_SITE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/var $fs }