wok-current annotate libmms/receipt @ rev 25738
Update get-LibreOffice for current64, add libavahi for LibreOffice draw
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Jan 29 10:54:12 2025 +0000 (2 days ago) |
parents | 65d7d867e0c1 |
children |
rev | line source |
---|---|
paul@3855 | 1 # SliTaz package receipt. |
paul@3855 | 2 |
paul@3855 | 3 PACKAGE="libmms" |
Hans-G?nter@21256 | 4 VERSION="0.6.4" |
paul@3855 | 5 CATEGORY="development" |
Hans-G?nter@21256 | 6 SHORT_DESC="A common library for parsing mms and mmsh streams." |
paul@3855 | 7 MAINTAINER="slitaz@kacper.se" |
pascal@15473 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21256 | 9 WEB_SITE="https://launchpad.net/libmms" |
Hans-G?nter@21256 | 10 |
paul@3855 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3855 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@3855 | 13 |
pascal@15473 | 14 DEPENDS="glib" |
Hans-G?nter@21256 | 15 BUILD_DEPENDS="glib-dev pkg-config" |
pascal@15473 | 16 |
shann@25728 | 17 HOST_ARCH="i486 x86_64" |
shann@25728 | 18 |
pascal@24411 | 19 # What is the latest version available today? |
pascal@24411 | 20 current_version() |
pascal@24411 | 21 { |
pascal@24411 | 22 wget -O - https://sourceforge.net/projects//libmms/files/libmms/ 2>/dev/null | \ |
pascal@24411 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 24 sed '/scope="row/!d;s|.*/libmms/||;s|/.*||;q' |
pascal@24411 | 25 } |
pascal@24411 | 26 |
paul@3855 | 27 # Rules to configure and make the package. |
paul@3855 | 28 compile_rules() |
paul@3855 | 29 { |
Hans-G?nter@21256 | 30 # patch -p1 -i $stuff/libmms.patch |
al@18633 | 31 |
Hans-G?nter@21256 | 32 ./configure \ |
Hans-G?nter@21256 | 33 --prefix=/usr \ |
paul@3855 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@21256 | 35 make -j 1 && |
Hans-G?nter@21256 | 36 make DESTDIR=$DESTDIR install |
paul@3855 | 37 } |
paul@3855 | 38 |
paul@3855 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3855 | 40 genpkg_rules() |
paul@3855 | 41 { |
paul@3855 | 42 mkdir -p $fs/usr/lib |
pascal@15473 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
paul@3855 | 44 } |