# SliTaz package receipt. PACKAGE="minicom" VERSION="2.6" CATEGORY="development" SHORT_DESC="menu driven communications program" MAINTAINER="f.lombard@free.fr" DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://alioth.debian.org/projects/minicom/" WGET_URL="http://alioth.debian.org/frs/download.php/3195/$PACKAGE/$TARBALL" CONFIG_FILES="/etc/minirc.dfl" # Rules to configure and make the package. compile_rules() { cd $src sed -i 's/getline/get_line/' src/minicom.c ./configure \ --sysconfdir=/etc \ --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/bin $fs/usr mkdir -p $fs/etc touch $fs$CONFIG_FILES }