wok view deadbeef/receipt @ rev 24521

updated ettercap (0.8.3 -> 0.8.3.1)
author Hans-G?nter Theisgen
date Tue Feb 22 15:47:04 2022 +0100 (2022-02-22)
parents 109495182d5a
children 6b33f9da53d4
line source
1 # SliTaz package receipt.
3 PACKAGE="deadbeef"
4 VERSION="1.8.2"
5 CATEGORY="multimedia"
6 TAGS="music audio player mp3 ogg ape"
7 SHORT_DESC="Simple to use GTK+ audio player with systray support."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2 LGPL2.1"
10 WEB_SITE="https://deadbeef.sourceforge.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SUGGESTED="deadbeef-plugins cdparanoia-III"
16 DEPENDS="alsa-lib atk cairo fontconfig freetype gdk-pixbuf glib gtk+
17 jansson libgio libmad libvorbis pango xorg-libX11"
18 BUILD_DEPENDS="alsa-lib-dev cdparanoia-III-dev curl-dev flac-dev gettext
19 gtk+-dev intltool jansson-dev libcddb-dev libcdio-dev libcurl
20 libmad-dev libogg-dev libsamplerate-dev libsndfile libsndfile-dev
21 libvorbis-dev libzip-dev util-linux-uuid-dev yasm zlib-dev"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://sourceforge.net/projects/deadbeef/files/travis/linux/ 2>/dev/null | \
27 sed '/scope="row/!d;/\/[0-9]/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
28 sed '/scope="row/!d;/deadbeef-[0-9]/!d;s|.*/deadbeef-||;s|.tar.*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 mkdir -p $fs/usr/lib/deadbeef
44 mkdir -p $fs/usr/share
45 mkdir -p $fs/usr/share/icons/hicolor
47 cp -a $install/usr/bin $fs/usr
49 for i in alsa ddb_gui_GTK2 hotkeys vorbis mp3
50 do
51 cp -a $install/usr/lib/deadbeef/$i.so $fs/usr/lib/deadbeef
52 done
54 for i in applications doc deadbeef
55 do
56 cp -a $install/usr/share/$i $fs/usr/share
57 done
59 for i in 16 48
60 do
61 cp -a $install/usr/share/icons/hicolor/${i}x$i \
62 $fs/usr/share/icons/hicolor
63 done
64 }