wok annotate libmpd/receipt @ rev 25625
Add opendkim (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 17:14:09 2023 +0000 (14 months ago) |
parents | c6c2c42e733e |
children |
rev | line source |
---|---|
jozee@4500 | 1 # SliTaz package receipt. |
jozee@4500 | 2 |
jozee@4500 | 3 PACKAGE="libmpd" |
pankso@16271 | 4 VERSION="11.8.17" |
jozee@4500 | 5 CATEGORY="multimedia" |
jozee@4500 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@14714 | 7 LICENSE="GPL2" |
jozee@4500 | 8 SHORT_DESC="Signal based wrapper around libmpdclient" |
jozee@4500 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24746 | 10 WEB_SITE="https://gmpclient.org/" |
pascal@24972 | 11 WGET_URL="https://download.sarine.nl/Programs/gmpc/${VERSION%.*}/$TARBALL" |
pankso@16271 | 12 HOST_ARCH="i486 arm" |
pascal@14714 | 13 |
pascal@5003 | 14 DEPENDS="glib" |
slaxemulator@6380 | 15 BUILD_DEPENDS="pkg-config glib-dev" |
jozee@4500 | 16 |
pascal@25364 | 17 # What is the latest version available today? |
pascal@25364 | 18 current_version() |
pascal@25364 | 19 { |
pascal@25364 | 20 wget -O - https://download.sarine.nl/Programs/gmpc/$( \ |
pascal@25364 | 21 wget -O - https://download.sarine.nl/Programs/gmpc/ 2>/dev/null | \ |
pascal@25368 | 22 sed '/folder/!d;/old\//d;s|.*href="||;s|/".*||' | sort -Vr | sed q)/ 2>/dev/null | \ |
pascal@25364 | 23 sed '/libmpd-/!d;s|.*href="libmpd-||;s|.tar.*||' | sort -Vr | sed q |
pascal@25364 | 24 } |
pascal@25364 | 25 |
jozee@4500 | 26 # Rules to configure and make the package. |
pascal@25364 | 27 compile_rules() |
pascal@25364 | 28 { |
pascal@25364 | 29 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@25364 | 30 make && |
pascal@25364 | 31 make DESTDIR=$DESTDIR install |
jozee@4500 | 32 } |
jozee@4500 | 33 |
jozee@4500 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4500 | 35 genpkg_rules() |
jozee@4500 | 36 { |
gokhlayeh@11573 | 37 mkdir -p $fs/usr/lib |
pascal@14714 | 38 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
jozee@4500 | 39 } |