blob: ec7c513aa38ef203fb330fc189bbb60e26cfa20d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=samba-xbmc
pkgver=3.5.5
pkgrel=0
pkgdesc="Samba for XMBC with less deps"
url="http://www.samba.org"
license="GPL3"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
makedepends="popt-dev"
source="http://us1.samba.org/samba/ftp/stable/samba-$pkgver.tar.gz"
_builddir="$srcdir"/samba-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"/source3
./configure --prefix=/usr \
--sysconfdir=/etc/samba \
--with-configdir=/etc/samba \
--localstatedir=/var \
--with-lockdir=/var/cache/samba \
--with-piddir=/var/run/samba \
--with-logfilebase=/var/log/samba \
--with-privatedir=/var/run \
--enable-shared \
--disable-static \
--enable-shared-libs \
--enable-debug \
--disable-swat \
--disable-cups \
--disable-iprint \
--with-fhs \
--enable-pie \
--with-pthreads \
--with-sqlite3 \
--enable-relro \
--disable-dnssd \
$SMB_AVAHI \
--without-pam \
--without-ads \
--without-libtalloc \
--without-libtdb \
--without-libnetapi \
--with-cifsmount \
--with-cifsumount \
--without-ldap \
--without-acl-support \
--with-winbind \
--without-dnsupdate \
--without-automount \
--with-included-popt \
--with-libsmbclient \
--with-libsmbsharemodes \
--without-quotas \
--without-sys-quotas \
--with-syslog \
--with-utmp \
--with-sendfile-support
make || return 1
}
package() {
cd "$_builddir"/source3
make DESTDIR="$pkgdir" install
#mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/lib
#for i in smbtree mount.cifs umount.cifs; do
# cp bin/"$i" "$pkgdir"/usr/bin
#done
}
libs() {
pkgdesc="Libs for xbmc samba"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
}
md5sums="278728aeeef9db7e27fa6a2ce5b43509 samba-3.5.5.tar.gz"
|