wok annotate libmediainfo/receipt @ rev 23208
updated mxml and mxml-dev (2.8 -> 3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 21 10:40:35 2020 +0100 (2020-03-21) |
parents | 1ea9701ce3ca |
children | ede1d184d5c5 |
rev | line source |
---|---|
al@18634 | 1 # SliTaz package receipt. |
al@18634 | 2 |
al@18634 | 3 PACKAGE="libmediainfo" |
Hans-G?nter@23086 | 4 VERSION="19.09" |
al@18634 | 5 CATEGORY="libs" |
Hans-G?nter@23086 | 6 SHORT_DESC="Library reading metadata from media files." |
al@18634 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18634 | 8 LICENSE="zlib/libpng" |
Hans-G?nter@23086 | 9 WEB_SITE="https://mediaarea.net/" |
Hans-G?nter@23086 | 10 |
al@18634 | 11 TARBALL="${PACKAGE}_$VERSION.tar.xz" |
al@18634 | 12 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL" |
al@18634 | 13 |
al@18634 | 14 DEPENDS="libcurl libmms" |
Hans-G?nter@23086 | 15 BUILD_DEPENDS="autoconf automake curl-dev libmms-dev libtool libzen" |
al@18634 | 16 |
al@18634 | 17 # Rules to configure and make the package. |
al@18634 | 18 compile_rules() |
al@18634 | 19 { |
al@18634 | 20 cd Project/GNU/Library |
Hans-G?nter@23086 | 21 ./autogen.sh && |
Hans-G?nter@23086 | 22 ./configure \ |
Hans-G?nter@23086 | 23 --prefix=/usr \ |
Hans-G?nter@23086 | 24 --sysconfdir=/etc \ |
Hans-G?nter@23086 | 25 --enable-shared \ |
Hans-G?nter@23086 | 26 --enable-minimize-size \ |
Hans-G?nter@23086 | 27 --with-libcurl \ |
Hans-G?nter@23086 | 28 --with-libmms \ |
al@18634 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@23086 | 30 make && |
Hans-G?nter@23086 | 31 make install |
al@18634 | 32 |
al@18634 | 33 mkdir -p $install/usr/bin |
al@18634 | 34 cp -a libmediainfo-config $install/usr/bin |
Hans-G?nter@23086 | 35 sed -i -e "s|$src/Project/GNU/Library|/usr/lib|" \ |
Hans-G?nter@23086 | 36 -e 's|.libs||' \ |
al@18634 | 37 $install/usr/bin/libmediainfo-config |
al@18634 | 38 } |
al@18634 | 39 |
al@18634 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18634 | 41 genpkg_rules() |
al@18634 | 42 { |
al@18634 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@23086 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@18634 | 45 } |