annotate python/py-daemon/py-daemon.sh @ 132:5f0dfff1e37a

core/elfutils: add necessary changes to build with musl
author David Demelier <markand@malikania.fr>
date Sun, 10 Mar 2019 19:15:49 +0100
parents 9ac387ca4599
children 329cad4dc6b0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
67
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
1 #!/bin/sh
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
2 #
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
3 # Copyright (c) 2019 Stéphane Péquignot <contact@stephanepequignot.fr>
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
4 #
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
5 # Permission to use, copy, modify, and/or distribute this software for any
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
6 # purpose with or without fee is hereby granted, provided that the above
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
7 # copyright notice and this permission notice appear in all copies.
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
8 #
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
16 #
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
17
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
18 source ./py-daemon.info
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
19
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
20 set -e
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
21
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
22 rm -rf python-daemon-$PKGVERSION
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
23 tar xvaf python-daemon-$PKGVERSION.tar.gz
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
24 pushd python-daemon-$PKGVERSION
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
25
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
26 python setup.py install --root=${DESTDIR:-/} -O1
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
27
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
28 popd
9ac387ca4599 python/py-daemon: initial import, closes #1123
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
29 rm -rf python-daemon-$PKGVERSION