wok annotate fdutils/receipt @ rev 15904
8086tiny: update compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 14 13:48:01 2014 +0000 (2014-02-14) |
parents | 7a526dcd4932 |
children | 4ea0eb3f4881 |
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@15002 | 8 LICENSE="GPL2" |
pascal@14526 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14526 | 10 WEB_SITE="http://www.fdutils.linux.lu/" |
pascal@14526 | 11 WGET_URL="$WEB_SITE$TARBALL" |
pascal@14528 | 12 TAGS="floppy formatter" |
pascal@14526 | 13 |
pascal@14526 | 14 DEPENDS="" |
pascal@14526 | 15 BUILD_DEPENDS="flex" |
pascal@14526 | 16 |
pascal@14526 | 17 # Rules to configure and make the package. |
pascal@14526 | 18 compile_rules() |
pascal@14526 | 19 { |
pascal@14526 | 20 cd $src |
pascal@14526 | 21 mkdir -p $DESTDIR/etc |
pascal@14526 | 22 sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \ |
pascal@14526 | 23 -e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \ |
pascal@14526 | 24 src/Makefile* |
pascal@14526 | 25 ./configure $CONFIGURE_ARGS && |
pascal@14526 | 26 make DESTDIR=$DESTDIR install-prog |
pascal@14526 | 27 } |
pascal@14526 | 28 |
pascal@14526 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14526 | 30 genpkg_rules() |
pascal@14526 | 31 { |
pascal@14526 | 32 cp -a $install/* $fs |
pascal@14526 | 33 } |