diff --git a/net-fs/samba/samba-3.6.24.recipe b/net-fs/samba/samba-3.6.24.recipe index 214fb10c0..2d68e9e72 100644 --- a/net-fs/samba/samba-3.6.24.recipe +++ b/net-fs/samba/samba-3.6.24.recipe @@ -9,7 +9,7 @@ platform other than Microsoft Windows, for example, UNIX, Linux, IBM System \ is installed on the host server. When correctly configured, it allows that \ host to interact with a Microsoft Windows client or server as if it is a \ Windows file and print server." -HOMEPAGE="http://www.samba.org/" +HOMEPAGE="http://www.samba.org/" COPYRIGHT="1992-2014 Anrew Tridgell and the Samba Team" LICENSE="GNU GPL v3" @@ -36,8 +36,8 @@ PROVIDES=" cmd:nmbd$secondaryArchSuffix = $portVersion cmd:nmblookup$secondaryArchSuffix = $portVersion cmd:ntlm_auth$secondaryArchSuffix = $portVersion - cmd:pdbedit$secondaryArchSuffix = $portVersion - cmd:profiles$secondaryArchSuffix = $portVersion + cmd:pdbedit$secondaryArchSuffix = $portVersion + cmd:profiles$secondaryArchSuffix = $portVersion cmd:rpcclient$secondaryArchSuffix = $portVersion cmd:sharesec$secondaryArchSuffix = $portVersion cmd:smbcacls$secondaryArchSuffix = $portVersion @@ -53,7 +53,7 @@ PROVIDES=" cmd:smbtar$secondaryArchSuffix = $portVersion cmd:smbtree$secondaryArchSuffix = $portVersion # cmd:swat$secondaryArchSuffix = $portVersion - cmd:tdbbackup$secondaryArchSuffix = $portVersion + cmd:tdbbackup$secondaryArchSuffix = $portVersion cmd:tdbdump$secondaryArchSuffix = $portVersion cmd:tdbrestore$secondaryArchSuffix = $portVersion cmd:testparm$secondaryArchSuffix = $portVersion @@ -88,7 +88,7 @@ BUILD_PREREQUIRES=" cmd:autoconf cmd:libtoolize cmd:perl - cmd:pkg_configt$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix cmd:python cmd:find cmd:gcc$secondaryArchSuffix @@ -112,29 +112,30 @@ BUILD() make $jobArgs } + INSTALL() { - cd source3 make $jobArgs install - + # move headers to the correct location mkdir -p $(dirname $includeDir) mv $prefix/include $includeDir/ - + # copy sample config file cp ../testdata/samba3/smb.conf $settingsDir/samba - + prepareInstalledDevelLibs libnetapi \ libsmbclient \ libsmbsharemodes \ libtalloc \ libtdb \ libtevent - + packageEntries devel $developDir } + PROVIDES_devel=" samba${secondaryArchSuffix}_devel = $portVersion devel:libsmbclient$secondaryArchSuffix = $portVersion @@ -143,7 +144,9 @@ PROVIDES_devel=" devel:libtalloc$secondaryArchSuffix = $portVersion compat >= 2 devel:libtdb$secondaryArchSuffix = $portVersion compat >= 1 devel:libtevent$secondaryArchSuffix = $portVersion compat >= 0 - " +" + + REQUIRES_devel=" samba$secondaryArchSuffix == $portVersion base - " +"