wok-next annotate minidlna/receipt @ rev 17470
Add minidlna (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 26 22:23:02 2014 +0100 (2014-12-26) |
parents | 7d2abf14f462 |
children | 2809ecb8c754 |
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@17470 | 12 CONFIGFILES="/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@17469 | 16 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 } |