wok-current annotate xfce4-mixer/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 17091bc7c301 |
children |
rev | line source |
---|---|
erjo@4140 | 1 # SliTaz package receipt. |
erjo@4140 | 2 |
erjo@4140 | 3 PACKAGE="xfce4-mixer" |
erkan@22420 | 4 VERSION="4.10.0" |
erjo@4140 | 5 CATEGORY="x-window" |
erjo@4140 | 6 SHORT_DESC="Xfce Audio Mixer" |
erjo@4140 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@4140 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://www.xfce.org" |
pascal@24972 | 11 WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@4140 | 12 |
erjo@9989 | 13 DEPENDS="gtk+ libxfce4util gtk+ xfconf xfce4-panel gst-plugins-base startup-notification |
devl547@16299 | 14 util-linux-uuid libunique" |
erjo@9989 | 15 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev xfce4-panel-dev |
erjo@9989 | 16 gst-plugins-base-dev intltool libxfce4ui-dev gstreamer-dev startup-notification-dev \ |
pascal@19753 | 17 util-linux-uuid-dev libxml2-dev libunique-dev xcb-util-dev" |
erjo@9989 | 18 |
pascal@24415 | 19 # What is the latest version available today? |
pascal@24415 | 20 current_version() |
pascal@24415 | 21 { |
pascal@24415 | 22 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 23 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24415 | 24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 25 } |
pascal@24415 | 26 |
erjo@4140 | 27 # Rules to configure and make the package. |
erjo@4140 | 28 compile_rules() |
erjo@4140 | 29 { |
erjo@4140 | 30 cd $src |
erjo@4140 | 31 ./configure --prefix=/usr \ |
erjo@9989 | 32 --libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \ |
erjo@9989 | 33 make && make DESTDIR=$DESTDIR install |
erjo@4140 | 34 } |
erjo@4140 | 35 |
erjo@4140 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4140 | 37 genpkg_rules() |
erjo@4140 | 38 { |
devl547@16299 | 39 mkdir -p $fs/usr/share/locale |
erjo@4140 | 40 |
pascal@15000 | 41 cp -a $install/usr/bin $fs/usr |
devl547@16299 | 42 cp -a $install/usr/lib $fs/usr |
pascal@15000 | 43 cp -a $install/usr/share/xfce4 $fs/usr/share |
pascal@15000 | 44 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15000 | 45 cp -a $install/usr/share/xfce4-mixer $fs/usr/share |
erjo@4140 | 46 |
erjo@4140 | 47 rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable |
erjo@4875 | 48 |
devl547@16299 | 49 # Strip everything |
erjo@4875 | 50 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \; |
erjo@4140 | 51 } |