summaryrefslogtreecommitdiff
path: root/repo/system/sysvinit.xibuild
blob: 63cd422b8add1d2bb18cfc27caee578bdd822145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

MAKEDEPS=(make )
DEPS=(sh glibc)

PKG_VER=3.01
SOURCE=http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-$PKG_VER.tar.xz
DESC="The sysvinit system for controlling startup, running and shutdown of the system"

prepare () {
    curl https://www.linuxfromscratch.org/patches/lfs/development/sysvinit-$PKG_VER-consolidated-1.patch > sysvinit-$PKG_VER-consolidated-1.patch
    patch -Np1 -i sysvinit-$PKG_VER-consolidated-1.patch
}
build () {
    make
}

package () {
    make ROOT=$PKG_DEST install 
}