wok-current annotate fdutils/receipt @ rev 14860

Up: gaupol (0.19)
author Claudinei Pereira <claudinei@slitaz.org>
date Mon Jul 22 18:18:34 2013 -0300 (2013-07-22)
parents 9b6bb1d6033f
children 7896f0694ef6
rev   line source
pascal@14526 1 # SliTaz package receipt.
pascal@14526 2
pascal@14526 3 PACKAGE="fdutils"
pascal@14526 4 VERSION="5.5"
al@14742 5 CATEGORY="system-tools"
pascal@14526 6 SHORT_DESC="Utilities for configuring and formatting floppy."
pascal@14526 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14526 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14526 9 WEB_SITE="http://www.fdutils.linux.lu/"
pascal@14526 10 WGET_URL="$WEB_SITE$TARBALL"
pascal@14528 11 TAGS="floppy formatter"
pascal@14526 12
pascal@14526 13 DEPENDS=""
pascal@14526 14 BUILD_DEPENDS="flex"
pascal@14526 15
pascal@14526 16 # Rules to configure and make the package.
pascal@14526 17 compile_rules()
pascal@14526 18 {
pascal@14526 19 cd $src
pascal@14526 20 mkdir -p $DESTDIR/etc
pascal@14526 21 sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \
pascal@14526 22 -e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \
pascal@14526 23 src/Makefile*
pascal@14526 24 ./configure $CONFIGURE_ARGS &&
pascal@14526 25 make DESTDIR=$DESTDIR install-prog
pascal@14526 26 }
pascal@14526 27
pascal@14526 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14526 29 genpkg_rules()
pascal@14526 30 {
pascal@14526 31 cp -a $install/* $fs
pascal@14526 32 }