samba: rework PKG_DEPENDS, replace and merge PKG_BUILD_DEPENDS_* with PKG_DEPENDS_*

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-01-30 14:32:48 +01:00
parent 8a315a93c8
commit bb3dc69d5d

View File

@ -23,8 +23,7 @@ PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="http://www.samba.org" PKG_SITE="http://www.samba.org"
PKG_URL="http://samba.org/samba/ftp/stable/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_URL="http://samba.org/samba/ftp/stable/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="zlib connman" PKG_DEPENDS_TARGET="toolchain zlib attr connman"
PKG_BUILD_DEPENDS_TARGET="toolchain zlib attr"
PKG_PRIORITY="optional" PKG_PRIORITY="optional"
PKG_SECTION="network" PKG_SECTION="network"
PKG_SHORTDESC="samba: The free SMB / CIFS fileserver and client" PKG_SHORTDESC="samba: The free SMB / CIFS fileserver and client"
@ -34,8 +33,7 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no" PKG_AUTORECONF="no"
if [ "$AVAHI_DAEMON" = yes ]; then if [ "$AVAHI_DAEMON" = yes ]; then
PKG_DEPENDS="$PKG_DEPENDS avahi" PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET avahi"
PKG_BUILD_DEPENDS_TARGET="$PKG_BUILD_DEPENDS_TARGET avahi"
SMB_AVAHI="--enable-avahi" SMB_AVAHI="--enable-avahi"
else else
SMB_AVAHI="--disable-avahi" SMB_AVAHI="--disable-avahi"