wok-next view fdutils/receipt @ rev 16990
caja, engrampa: Fix genpkg rules
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Aug 09 12:56:36 2014 -0300 (2014-08-09) |
parents | 7a526dcd4932 |
children | 2c409915a36c |
line source
1 # SliTaz package receipt.
3 PACKAGE="fdutils"
4 VERSION="5.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for configuring and formatting floppy."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.fdutils.linux.lu/"
11 WGET_URL="$WEB_SITE$TARBALL"
12 TAGS="floppy formatter"
14 DEPENDS=""
15 BUILD_DEPENDS="flex"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir -p $DESTDIR/etc
22 sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \
23 -e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \
24 src/Makefile*
25 ./configure $CONFIGURE_ARGS &&
26 make DESTDIR=$DESTDIR install-prog
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }