wok-6.x annotate cmus/receipt @ rev 22785
updated fuse-emulator (1.0.0.1 -> 1.5.7)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 26 17:07:26 2020 +0100 (2020-01-26) |
parents | 860933d3b00d |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
claudinei@13350 | 1 # SliTaz package receipt. |
claudinei@13350 | 2 |
claudinei@13350 | 3 PACKAGE="cmus" |
Hans-G?nter@22603 | 4 VERSION="2.8.0" |
claudinei@13350 | 5 CATEGORY="multimedia" |
Hans-G?nter@22603 | 6 SHORT_DESC="A small, fast and powerful console music player." |
claudinei@13350 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@22603 | 9 WEB_SITE="https://cmus.github.io/" |
claudinei@13350 | 10 |
Hans-G?nter@22603 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22603 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL" |
Hans-G?nter@22603 | 13 |
Hans-G?nter@22603 | 14 DEPENDS="alsa-lib flac gcc83-lib-base libmad libvorbis ncurses" |
Hans-G?nter@22603 | 15 BUILD_DEPENDS="alsa-lib-dev flac-dev gcc83 libmad-dev libvorbis-dev |
Hans-G?nter@22603 | 16 ncurses-dev" |
claudinei@13350 | 17 |
claudinei@13350 | 18 # Rules to configure and make the package. |
claudinei@13350 | 19 compile_rules() |
claudinei@13350 | 20 { |
Hans-G?nter@22603 | 21 export LDFLAGS="$LDFLAGS -latomic" |
Hans-G?nter@22603 | 22 |
Hans-G?nter@22603 | 23 ./configure \ |
Hans-G?nter@22603 | 24 CC=gcc-83 \ |
Hans-G?nter@22603 | 25 CXX=g++-83 \ |
Hans-G?nter@22603 | 26 CONFIG_AO=n \ |
Hans-G?nter@22603 | 27 CONFIG_FFMPEG=n \ |
Hans-G?nter@22603 | 28 CONFIG_JACK=n \ |
Hans-G?nter@22603 | 29 CONFIG_OPUS=n \ |
Hans-G?nter@22603 | 30 CONFIG_PULSE=n \ |
Hans-G?nter@22603 | 31 CONFIG_ROAR=n \ |
Hans-G?nter@22603 | 32 CONFIG_SAMPLERATE=n \ |
Hans-G?nter@22603 | 33 prefix=/usr && |
Hans-G?nter@22603 | 34 make && |
Hans-G?nter@22603 | 35 make install |
claudinei@13350 | 36 } |
claudinei@13350 | 37 |
claudinei@13350 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@13350 | 39 genpkg_rules() |
claudinei@13350 | 40 { |
claudinei@13350 | 41 mkdir -p $fs/usr/share |
claudinei@13350 | 42 mkdir -p $fs/usr/bin |
claudinei@13350 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@22603 | 44 |
Hans-G?nter@22603 | 45 cp -a $install/usr/bin/cmus* $fs/usr/bin |
Hans-G?nter@22603 | 46 cp -a $install/usr/lib/cmus $fs/usr/lib |
Hans-G?nter@22603 | 47 cp -a $install/usr/share/cmus $fs/usr/share |
claudinei@13350 | 48 } |