contrib/lsb-release/Pkgfile

26 lines
732 B
Plaintext
Raw Normal View History

2019-06-11 23:45:46 +02:00
# Description: LSB version query program
2020-06-01 17:45:48 +02:00
# URL: https://www.linuxbase.org
2019-06-11 23:45:46 +02:00
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: bash
name=lsb-release
2021-06-22 22:16:37 +02:00
version=3.1
release=1
source=(https://github.com/thkukuk/lsb-release_os-release/archive/v$version/$name-$version.tar.gz)
2019-06-11 23:45:46 +02:00
build() {
2021-06-22 22:16:37 +02:00
cd ${name}_os-release-$version
2019-06-11 23:45:46 +02:00
make
2021-06-22 22:16:37 +02:00
make INSTALL_ROOT=$PKG/usr install
2019-06-11 23:45:46 +02:00
2021-06-22 22:16:37 +02:00
install -dm755 "$PKG/etc"
cat <<- EOF > $PKG/etc/lsb-release
# only uncomment if we are LSB compliant and certified..
#LSB_VERSION=$version
DISTRIB_ID=CRUX
DISTRIB_RELEASE=$(crux | awk '{ print $3 }')
DISTRIB_CODENAME=CRUX
DISTRIB_DESCRIPTION="CRUX is a lightweight Linux distribution for the x86-64 architecture targeted at experienced Linux users"
EOF
2019-06-11 23:45:46 +02:00
}