Share some vars in kernel and kernel-libc-headers.

--HG--
extra : convert_revision : 0e175135911c93e2e6d0a0a73fa0ad13cfa7fd36
This commit is contained in:
Juan RP 2010-04-21 15:50:05 +02:00
parent b0c64c181b
commit 66d275cec7
3 changed files with 13 additions and 16 deletions

View file

@ -1,18 +1,12 @@
# Template file for 'kernel-libc-headers' # Template file for 'kernel-libc-headers'
. ${XBPS_SRCPKGDIR}/kernel/common-vars
pkgname=kernel-libc-headers 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 build_style=only-install
make_install_target=" make_install_target="
INSTALL_HDR_PATH=$XBPS_DESTDIR/$pkgname-$version/usr INSTALL_HDR_PATH=$XBPS_DESTDIR/$pkgname-$version/usr
headers_install" headers_install"
short_desc="The Linux kernel headers for development" short_desc="The Linux kernel headers for development"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6a739ce474513149c395bee5e49e64065932b35ddcae874ff21937d51093bd80
long_desc=" long_desc="
This package provides the linux kernel headers for use in userspace." This package provides the linux kernel headers for use in userspace."

View 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

View file

@ -1,17 +1,10 @@
# Template file for 'kernel' # Template file for 'kernel'
. ${XBPS_SRCPKGDIR}/kernel/common-vars
pkgname=kernel pkgname=kernel
_kernel_ver=2.6.33
#version=${_kernel_ver}
_kernel_patch_ver=2
# Don't forget to set same revision in kernel-headers! # Don't forget to set same revision in kernel-headers!
#revision=1 #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 build_style=custom-install
short_desc="The Linux kernel and associated stuff (2.6 branch)" short_desc="The Linux kernel and associated stuff (2.6 branch)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=6a739ce474513149c395bee5e49e64065932b35ddcae874ff21937d51093bd80
long_desc=" long_desc="
This package provides the linux kernel image and associated modules." This package provides the linux kernel image and associated modules."