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