summaryrefslogtreecommitdiff
path: root/package/samba
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
commitd279b5d1fe744cac44da7cd1b51f9ba6a2cc4647 (patch)
treebf575aca8f9ce9cf088ce3aee992fc846cd6e130 /package/samba
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
fix libmix packages, while checking all packages make some style cleanup
Diffstat (limited to 'package/samba')
-rw-r--r--package/samba/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/package/samba/Makefile b/package/samba/Makefile
index 9626c1cdb..98a10bb77 100644
--- a/package/samba/Makefile
+++ b/package/samba/Makefile
@@ -9,8 +9,8 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= afe9c7c590f3093555cd6e870d2532e1
PKG_DESCR:= NetBIOS/SMB file and print server
PKG_SECTION:= net/fs
-PKG_BUILDDEP:= gettext-tiny util-linux
-PKG_DEPENDS:= samba-lib libuuid
+PKG_BUILDDEP:= gettext-tiny util-linux popt
+PKG_DEPENDS:= samba-lib libuuid libpopt
PKG_URL:= http://www.samba.org/
PKG_SITES:= http://samba.org/samba/ftp/stable/
@@ -55,7 +55,7 @@ CONFIGURE_ARGS+= --libdir=/usr/lib/samba \
--without-cluster-support \
--without-sendfile-support
-post-install:
+samba-install:
${INSTALL_DIR} ${IDIR_SAMBA}/etc/samba ${IDIR_SAMBA}/usr/sbin
${INSTALL_DIR} ${IDIR_SAMBA}/usr/lib/samba/{charset,vfs}
${INSTALL_DATA} ${WRKINST}/usr/lib/samba/charset/CP850.so \
@@ -66,12 +66,18 @@ post-install:
${IDIR_SAMBA}/usr/lib/samba
${CP} ${WRKINST}/usr/lib/samba/vfs/*.so* ${IDIR_SAMBA}/usr/lib/samba/vfs
${INSTALL_DATA} ${WRKINST}/usr/lib/samba/*.dat ${IDIR_SAMBA}/usr/lib/samba
+
+samba-passwd-install:
${INSTALL_DIR} ${IDIR_SAMBA_PASSWD}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/smbpasswd \
${IDIR_SAMBA_PASSWD}/usr/bin
+
+samba-client-install:
${INSTALL_DIR} ${IDIR_SAMBA_CLIENT}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/smbclient \
${IDIR_SAMBA_CLIENT}/usr/bin
+
+samba-lib-install:
${INSTALL_DIR} ${IDIR_SAMBA_LIB}/usr/lib/samba
$(CP) ${WRKINST}/usr/lib/samba/{libtalloc,libtdb,libtevent}.* \
${IDIR_SAMBA_LIB}/usr/lib/samba