wok-next annotate libmediainfo/receipt @ rev 19189
xcompmgr: add shadows patch
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Jun 05 02:33:03 2016 +0200 (2016-06-05) |
parents | |
children | 8940878905f3 |
rev | line source |
---|---|
al@18634 | 1 # SliTaz package receipt. |
al@18634 | 2 |
al@18634 | 3 PACKAGE="libmediainfo" |
al@18634 | 4 VERSION="0.7.79" |
al@18634 | 5 CATEGORY="libs" |
al@18634 | 6 SHORT_DESC="Library reading metadata from media files" |
al@18634 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18634 | 8 LICENSE="zlib/libpng" |
al@18634 | 9 WEB_SITE="http://mediaarea.net/" |
al@18634 | 10 TARBALL="${PACKAGE}_$VERSION.tar.xz" |
al@18634 | 11 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL" |
al@18634 | 12 |
al@18634 | 13 DEPENDS="libcurl libmms" |
al@18634 | 14 BUILD_DEPENDS="libzen libtool automake autoconf curl-dev libmms-dev" |
al@18634 | 15 |
al@18634 | 16 # Rules to configure and make the package. |
al@18634 | 17 compile_rules() |
al@18634 | 18 { |
al@18634 | 19 cd Project/GNU/Library |
al@18634 | 20 ./autogen.sh |
al@18634 | 21 ./configure \ |
al@18634 | 22 --prefix=/usr \ |
al@18634 | 23 --sysconfdir=/etc \ |
al@18634 | 24 --enable-shared \ |
al@18634 | 25 --enable-minimize-size \ |
al@18634 | 26 --with-libcurl \ |
al@18634 | 27 --with-libmms \ |
al@18634 | 28 $CONFIGURE_ARGS && |
al@18634 | 29 make && make install |
al@18634 | 30 |
al@18634 | 31 mkdir -p $install/usr/bin |
al@18634 | 32 cp -a libmediainfo-config $install/usr/bin |
al@18634 | 33 sed -i -e "s|$src/Project/GNU/Library|/usr/lib|" -e 's|.libs||' \ |
al@18634 | 34 $install/usr/bin/libmediainfo-config |
al@18634 | 35 } |
al@18634 | 36 |
al@18634 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18634 | 38 genpkg_rules() |
al@18634 | 39 { |
al@18634 | 40 mkdir -p $fs/usr/lib |
al@18634 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@18634 | 42 } |