wok-next diff orpheus/receipt @ rev 21027
jwm: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 04:51:09 2018 +0200 (2018-11-03) |
parents | 09bc5cfc41d1 |
children |
line diff
1.1 --- a/orpheus/receipt Thu Nov 16 21:37:29 2017 +0100 1.2 +++ b/orpheus/receipt Sat Nov 03 04:51:09 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="orpheus" 1.8 VERSION="1.6" 1.9 @@ -6,30 +6,26 @@ 1.10 SHORT_DESC="Ncurses based audio player" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -SUGGESTED="mpg123" 1.14 +WEB_SITE="http://thekonst.net/en/orpheus" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://thekonst.net/en/orpheus" 1.18 WGET_URL="http://thekonst.net/download/$TARBALL" 1.19 -TAGS="audio sound music player" 1.20 1.21 -DEPENDS="ncurses libvorbis libogg libxml2 zlib" 1.22 BUILD_DEPENDS="autoconf automake libvorbis-dev libogg-dev ncurses-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 sed -i 's|fcntl.h>|&\n#include <unistd.h>|' src/streamtrack.cc 1.29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -logg" 1.30 unset CFLAGS CXXFLAGS 1.31 - ./configure 2>&1 | grep -v /config.rpath && 1.32 + 1.33 + ./configure && 1.34 make && 1.35 - make DESTDIR=$DESTDIR install 1.36 + make DESTDIR=$install install 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - mkdir -p $fs/usr 1.43 - cp -a $install/usr/bin $fs/usr 1.44 +genpkg_rules() { 1.45 + copy @std 1.46 + DEPENDS="ncurses libvorbis libogg libxml2 zlib" 1.47 + SUGGESTED="mpg123" 1.48 + TAGS="audio sound music player" 1.49 } 1.50 -