wok-4.x annotate orpheus/receipt @ rev 2462
orpheus: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 15:09:51 2009 +0000 (2009-03-14) |
parents | 802a77e5a30c |
children | 6ec17b55b59a |
rev | line source |
---|---|
pascal@813 | 1 # SliTaz package receipt. |
pascal@813 | 2 |
pascal@813 | 3 PACKAGE="orpheus" |
pascal@813 | 4 VERSION="1.6" |
pascal@813 | 5 CATEGORY="multimedia" |
pascal@813 | 6 SHORT_DESC="Ncurses based audio player" |
pascal@813 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2459 | 8 DEPENDS="ncurses libvorbis libogg libxml2 zlib" |
pascal@813 | 9 SUGGESTED="mpg123" |
pascal@813 | 10 BUILD_DEPENDS="ncurses-dev libvorbis-dev libogg-dev" |
pascal@813 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@813 | 12 WEB_SITE="http://thekonst.net/en/orpheus" |
pascal@813 | 13 WGET_URL="http://thekonst.net/download/$TARBALL" |
pascal@813 | 14 |
pascal@813 | 15 # Rules to configure and make the package. |
pascal@813 | 16 compile_rules() |
pascal@813 | 17 { |
pascal@813 | 18 cd $src |
pascal@813 | 19 ./configure \ |
pascal@813 | 20 --prefix=/usr \ |
pascal@2462 | 21 --mandir=/usr/share/man && |
pascal@2459 | 22 make && |
pascal@2461 | 23 make DESTDIR=$PWD/_pkg install |
pascal@813 | 24 } |
pascal@813 | 25 |
pascal@813 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@813 | 27 genpkg_rules() |
pascal@813 | 28 { |
pascal@813 | 29 mkdir -p $fs/usr |
pascal@813 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@813 | 31 } |
pascal@813 | 32 |