12345678910111213141516171819202122232425262728 |
- # Description: uzun donem kararli kernel surumu kaynak kodu
- # URL: http://www.kernel.org
- # Packagers: milisarge
- name=kernel-lts-src
- version=4.4.27
- release=1
- _version=${version:0:3}
- source=(\
- http://www.kernel.org/pub/linux/kernel/v4.x/linux-${_version}.tar.xz
- https://www.kernel.org/pub/linux/kernel/v4.x/patch-$version.xz)
- build(){
- cd linux-${_version}
- if [ -f $SRC/patch-$version.xz ]; then
- xz -d -c $SRC/patch-$version.xz | patch -Np1
- fi
- mkdir -p $PKG/usr/src
- mv $SRC/linux-${_version} $PKG/usr/src/
- }
|