wok-next view iat/receipt @ rev 15168

nethack: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 23:11:23 2013 +0000 (2013-08-15)
parents ef6b94d518a9
children de49f29b101e
line source
1 # SliTaz package receipt.
3 PACKAGE="iat"
4 VERSION="0.1.3"
5 CATEGORY="utilities"
6 SHORT_DESC="iat (Iso9660 Analyzer Tool) converts many types of CD-ROM \
7 image file formats and converting them into ISO-9660."
8 MAINTAINER="chadi.elahmad@gmail.com"
10 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
11 WEB_SITE="http://iat.berlios.de/"
12 WGET_URL="http://download.berlios.de/iat/$TARBALL"
13 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/utilities.html#iat'
15 DEPENDS=""
16 BUILD_DEPENDS=""
17 TAGS="iso CD convert"
19 # Rules to configure and make the package.
20 # The src files are in a folder simply named iat.
21 compile_rules()
22 {
23 cd $src/..
24 if test -d $PACKAGE ; then mv -f $PACKAGE $PACKAGE-$VERSION ; fi
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 --infodir=/usr/share/info \
31 $CONFIGURE_ARGS && \
32 make && \
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 cp -a $_pkg/usr/bin $fs/usr
41 }