blob: be8f23017c997e49141ed0ca9607aae470be9715 (
plain)
1 # Description: LSB version query program
2 # URL: https://www.linuxbase.org
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: bash
5
6 name=lsb-release
7 version=3.2
8 release=1
9 source=(https://github.com/thkukuk/lsb-release_os-release/archive/v$version/$name-$version.tar.gz)
10
11 build() {
12 cd ${name}_os-release-$version
13 make
14 make INSTALL_ROOT=$PKG/usr install
15
16 install -dm755 "$PKG/etc"
17 cat <<- EOF > $PKG/etc/lsb-release
18 # only uncomment if we are LSB compliant and certified..
19 #LSB_VERSION=$version
20 DISTRIB_ID=CRUX
21 DISTRIB_RELEASE=$(crux | awk '{ print $3 }')
22 DISTRIB_CODENAME=CRUX
23 DISTRIB_DESCRIPTION="CRUX is a lightweight Linux distribution for the x86-64 architecture targeted at experienced Linux users"
24 EOF
25 }
|