wok-next annotate cmus/receipt @ rev 21605
dropbear: add ed25519 key
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 25 08:01:52 2020 +0000 (2020-06-25) |
parents | b84b01f3048e |
children |
rev | line source |
---|---|
al@20985 | 1 # SliTaz package receipt v2. |
claudinei@13350 | 2 |
claudinei@13350 | 3 PACKAGE="cmus" |
Hans-G?nter@21560 | 4 VERSION="2.8.0" |
claudinei@13350 | 5 CATEGORY="multimedia" |
al@20985 | 6 SHORT_DESC="Small, fast and powerful console music player" |
claudinei@13350 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20985 | 9 WEB_SITE="https://cmus.github.io/" |
claudinei@13350 | 10 |
al@20985 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20985 | 12 WGET_URL="https://github.com/cmus/cmus/archive/v$VERSION.tar.gz" |
claudinei@13350 | 13 |
Hans-G?nter@21560 | 14 BUILD_DEPENDS="alsa-lib-dev faad2-dev ffmpeg-dev flac-dev jack-dev |
Hans-G?nter@21560 | 15 libao-dev libcddb-dev libcdio-paranoia-dev libcue-dev libmad-dev |
Hans-G?nter@21560 | 16 libmodplug-dev libsamplerate-dev libvorbis-dev ncurses-dev |
Hans-G?nter@21560 | 17 opusfile-dev pulseaudio-dev wavpack-dev" |
al@20985 | 18 SPLIT="$PACKAGE-plugins $PACKAGE" |
al@20985 | 19 |
Hans-G?nter@21560 | 20 compile_rules() |
Hans-G?nter@21560 | 21 { |
al@20985 | 22 # can't use $CONFIGURE_ARGS |
Hans-G?nter@21560 | 23 ./configure \ |
al@20985 | 24 prefix=/usr && |
al@20985 | 25 make && |
al@20985 | 26 make install |
claudinei@13350 | 27 } |
claudinei@13350 | 28 |
Hans-G?nter@21560 | 29 genpkg_rules() |
Hans-G?nter@21560 | 30 { |
al@20985 | 31 case $PACKAGE in |
al@20985 | 32 *-plugins) |
al@20985 | 33 # cue.so in the main package because bin/cmus depends on libcue too |
al@20985 | 34 copy aac.so cdio.so modplug.so wavpack.so ao.so jack.so oss.so \ |
al@20985 | 35 pulse.so |
Hans-G?nter@21560 | 36 |
al@20985 | 37 CAT="multimedia|extra plugins" |
al@20985 | 38 DEPENDS="cmus faad2 jack libao libcddb libcdio libcdio-paranoia \ |
Hans-G?nter@21560 | 39 libmodplug libsamplerate pulseaudio wavpack" |
al@20985 | 40 ;; |
al@20985 | 41 *) |
al@20985 | 42 copy @std @rm |
Hans-G?nter@21560 | 43 |
al@20985 | 44 DEPENDS="alsa-lib flac libcue libmad libvorbis ncurses opusfile" |
al@20985 | 45 ;; |
al@20985 | 46 esac |
claudinei@13350 | 47 } |