# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0: #Maintainer: JRD pkgname=fake-uname pkgver=0.2 pkgrel=1cp arch=noarch source=("fake-uname") sourcetemplate=http://people.salixos.org/jrd/salix/$pkgname/$pkgver-$arch-$pkgrel/ options=('noextract' 'nostrip') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (hack to fake the kernel version)" "This could be usefull to build a driver or anything relative to the" "kernel, where the currently running kernel is not of the same version" "you build the driver to." "Of course the kernel headers (or sources) for the fakly kernel should" "be present in order for this to work." ) build() { install -d $PKG/usr/sbin install -m a=rx,u+w $SRC/fake-uname $PKG/usr/sbin }