Share some vars in kernel and kernel-libc-headers.
--HG-- extra : convert_revision : 0e175135911c93e2e6d0a0a73fa0ad13cfa7fd36
This commit is contained in:
parent
b0c64c181b
commit
66d275cec7
3 changed files with 13 additions and 16 deletions
|
@ -1,18 +1,12 @@
|
|||
# Template file for 'kernel-libc-headers'
|
||||
. ${XBPS_SRCPKGDIR}/kernel/common-vars
|
||||
|
||||
pkgname=kernel-libc-headers
|
||||
_kernel_ver=2.6.33
|
||||
#version=${_kernel_ver}
|
||||
_kernel_patch_ver=2
|
||||
version=${_kernel_ver}.${_kernel_patch_ver}
|
||||
wrksrc="linux-$version"
|
||||
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2"
|
||||
build_style=only-install
|
||||
make_install_target="
|
||||
INSTALL_HDR_PATH=$XBPS_DESTDIR/$pkgname-$version/usr
|
||||
headers_install"
|
||||
short_desc="The Linux kernel headers for development"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=6a739ce474513149c395bee5e49e64065932b35ddcae874ff21937d51093bd80
|
||||
long_desc="
|
||||
This package provides the linux kernel headers for use in userspace."
|
||||
|
||||
|
|
10
srcpkgs/kernel/common-vars
Normal file
10
srcpkgs/kernel/common-vars
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Common vars shared by the 'kernel' and 'kernel-libc-headers'
|
||||
# build templates.
|
||||
_kernel_ver=2.6.33
|
||||
#version=${_kernel_ver}
|
||||
_kernel_patch_ver=2
|
||||
version=${_kernel_ver}.${_kernel_patch_ver}
|
||||
wrksrc="linux-$version"
|
||||
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=6a739ce474513149c395bee5e49e64065932b35ddcae874ff21937d51093bd80
|
|
@ -1,17 +1,10 @@
|
|||
# Template file for 'kernel'
|
||||
. ${XBPS_SRCPKGDIR}/kernel/common-vars
|
||||
pkgname=kernel
|
||||
_kernel_ver=2.6.33
|
||||
#version=${_kernel_ver}
|
||||
_kernel_patch_ver=2
|
||||
# Don't forget to set same revision in kernel-headers!
|
||||
#revision=1
|
||||
version=${_kernel_ver}.${_kernel_patch_ver}
|
||||
wrksrc="linux-$version"
|
||||
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2"
|
||||
build_style=custom-install
|
||||
short_desc="The Linux kernel and associated stuff (2.6 branch)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=6a739ce474513149c395bee5e49e64065932b35ddcae874ff21937d51093bd80
|
||||
long_desc="
|
||||
This package provides the linux kernel image and associated modules."
|
||||
|
||||
|
|
Loading…
Reference in a new issue