diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-20 08:10:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-20 08:10:42 +0000 |
commit | 399d63b082b5275f4b1ddca2670b5525de31110e (patch) | |
tree | 1c181c2af7f8747f54338b59b3e6580533c4035d | |
parent | d93c8d2a37f5e077b7a8bc00f84f9a2f7a1875d4 (diff) | |
download | aports-399d63b082b5275f4b1ddca2670b5525de31110e.tar.bz2 aports-399d63b082b5275f4b1ddca2670b5525de31110e.tar.xz |
extra/samba: move libs to /usr/lib
-rw-r--r-- | extra/samba/APKBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/extra/samba/APKBUILD b/extra/samba/APKBUILD index 309c7a3b..11bc31f3 100644 --- a/extra/samba/APKBUILD +++ b/extra/samba/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=samba pkgver=3.2.8 -pkgrel=0 +pkgrel=1 pkgdesc="Tools to access a server's filespace and printers via SMB" url="http://www.samba.org" license="GPL3" @@ -16,16 +16,15 @@ source="http://us1.$pkgname.org/$pkgname/ftp/stable/$pkgname-$pkgver.tar.gz build() { cd "$srcdir"/$pkgname-$pkgver/source -# patch -Np2 -i "$srcdir"/no-clients.patch || return 1 ./configure --prefix=/usr \ --sysconfdir=/etc/samba \ --with-configdir=/etc/samba \ - --libdir=/usr/lib/samba \ --localstatedir=/var \ --with-fhs \ --with-lockdir=/var/cache/samba \ --with-piddir=/var/run/samba \ --with-logfilebase=/var/log/samba \ + --with-libdir=/usr/lib/samba \ --without-pam \ --without-ads \ --with-libsmbclient \ @@ -39,8 +38,11 @@ build() { install -d "$pkgdir"/var/log/samba \ "$pkgdir"/usr/share/doc/samba cd "$srcdir"/$pkgname-$pkgver - cp -r examples "pkgdir"/usr/share/doc/samba/ + cp -r examples "$pkgdir"/usr/share/doc/samba/ install -D packaging/RHEL/setup/smbusers "$pkgdir"/etc/samba/smbusers + + # move the shared libs to /usr/lib + mv "$pkgdir"/usr/lib/samba/lib*.so* "$pkgdir"/usr/lib/ } initscript() { @@ -67,7 +69,7 @@ winbind() { usr/bin/ntlm_auth \ usr/sbin/winbindd \ usr/lib/samba/idmap \ - usr/lib/samba/libwbclient* + usr/lib/libwbclient* } common() { @@ -80,8 +82,8 @@ common() { usr/bin/smbpasswd \ usr/bin/testparm \ usr/lib/samba/*.dat \ - usr/lib/samba/libtalloc* \ - usr/lib/samba/libtdb* \ + usr/lib/libtalloc* \ + usr/lib/libtdb* \ var/run/samba \ var/cache/samba \ var/log/samba |