wok-6.x annotate minidlna/receipt @ rev 20892
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 09:14:07 2019 +0100 (2019-02-26) |
parents | 8e449fe1df2e |
children | d9b6a0ef7bb5 |
rev | line source |
---|---|
pascal@17469 | 1 # SliTaz package receipt. |
pascal@17469 | 2 |
pascal@17469 | 3 PACKAGE="minidlna" |
pascal@17469 | 4 VERSION="1.1.4" |
pascal@17469 | 5 CATEGORY="network" |
pascal@17469 | 6 SHORT_DESC="a simple media server fully compliant with DLNA/UPnP-AV clients" |
pascal@17469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17469 | 8 LICENSE="GPL2" |
pascal@17469 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17469 | 10 WEB_SITE="http://minidlna.sourceforge.net/" |
pascal@17469 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@20475 | 12 CONFIG_FILES="/etc/minidlna.conf" |
pascal@17469 | 13 |
pascal@17469 | 14 DEPENDS="ffmpeg jpeg libsqlite libexif libid3tag libogg libvorbis flac" |
pascal@17469 | 15 BUILD_DEPENDS="ffmpeg-dev jpeg-dev sqlite-dev libexif-dev libid3tag-dev \ |
pascal@20477 | 16 libav-dev libogg-dev libvorbis-dev flac-dev gettext" |
pascal@17469 | 17 |
pascal@17469 | 18 # Rules to configure and make the package. |
pascal@17469 | 19 compile_rules() |
pascal@17469 | 20 { |
pascal@17469 | 21 ./configure --prefix=/usr \ |
pascal@17469 | 22 --sysconfdir=/etc \ |
pascal@17469 | 23 $CONFIGURE_ARGS && |
pascal@17469 | 24 make && |
pascal@17469 | 25 make DESTDIR=$DESTDIR install |
pascal@17469 | 26 } |
pascal@17469 | 27 |
pascal@17469 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17469 | 29 genpkg_rules() |
pascal@17469 | 30 { |
pascal@17470 | 31 mkdir -p $fs/usr $fs/etc |
pascal@17469 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@17470 | 33 cp -a $src/minidlna.conf $fs/etc |
pascal@17469 | 34 } |