summaryrefslogtreecommitdiff
path: root/data/netatalk/make.sh
blob: 3be5b21f398f0286b52487508abc4a5694a01882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pkg:setup
autoconf
AR=$(which "${PKG_TARG}-ar") pkg:configure --enable-cups=no --sysconfdir=/etc --with-bdb="$(PKG_DEST_ berkeleydb)/usr"
make
pkg:install

pkg: mkdir -p /System/Library/LaunchDaemons
pkg: cp -a %/com.saurik.afpd.dns-sd.plist /System/Library/LaunchDaemons
pkg: cp -a %/net.sourceforge.netatalk.afpd.plist /System/Library/LaunchDaemons

{
    pkg: grep '^#' /etc/netatalk/AppleVolumes.default
    echo '~ home'
    echo '/ root'
} >AppleVolumes.default

chmod --reference="${PKG_DEST}/etc/netatalk/AppleVolumes.default" AppleVolumes.default
chown --reference="${PKG_DEST}/etc/netatalk/AppleVolumes.default" AppleVolumes.default

pkg: mv AppleVolumes.default /etc/netatalk/AppleVolumes.default