tmpl_vars.sh: add KERNEL_SITE var and use it.

--HG--
extra : convert_revision : 19ca0740561716ef2adde93213fd64d4e280caec
This commit is contained in:
Juan RP 2009-04-19 00:31:39 +02:00
parent 3ccdc3d217
commit d013286604
16 changed files with 16 additions and 23 deletions

View file

@ -8,3 +8,4 @@ UBUNTU_SITE="http://archive.ubuntu.com/ubuntu/pool"
XORG_SITE="http://xorg.freedesktop.org/releases/individual"
DEBIAN_SITE="http://ftp.debian.org/debian/pool"
GNOME_SITE="http://ftp.gnome.org/pub/GNOME/sources"
KERNEL_SITE="http://www.kernel.org/pub/linux"

View file

@ -1,7 +1,7 @@
# Template file for 'kbd'
pkgname=kbd
version=1.15
distfiles="http://www.kernel.org/pub/linux/utils/kbd/kbd-$version.tar.bz2"
distfiles="${KERNEL_SITE}/utils/kbd/kbd-$version.tar.bz2"
build_style=configure
configure_args="--datadir=/lib/kbd --bindir=/sbin
--localedir=/usr/share/locale --mandir=/usr/share/man"

View file

@ -2,7 +2,7 @@
pkgname=kernel-headers
version=2.6.29.1
wrksrc="linux-$version"
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2"
build_style=custom-install
short_desc="The Linux kernel headers"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -2,7 +2,7 @@
pkgname=kernel-libc-headers
version=2.6.29.1
wrksrc="linux-$version"
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
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

View file

@ -5,7 +5,7 @@ version=2.6.29.1
#patch_files="unionfs-2.5.1_for_2.6.29-rc2.diff.gz"
#patch_args="-p1"
wrksrc="linux-$version"
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2"
build_style=gnu_makefile
make_build_target="bzImage modules"
make_install_target="modules_install

View file

@ -2,8 +2,7 @@
pkgname=klibc-module-init-tools
version=3.6
wrksrc="module-init-tools-${version}"
distfiles="
http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$version.tar.bz2"
distfiles="${KERNEL_SITE}/utils/kernel/module-init-tools/module-init-tools-$version.tar.bz2"
build_style=custom-install
short_desc="Tools for managing kernel modules for initramfs"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -3,8 +3,7 @@ pkgname=klibc-udev
version=141
revision=1
wrksrc="udev-${version}"
distfiles="
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-$version.tar.bz2"
distfiles="${KERNEL_SITE}//utils/kernel/hotplug/udev-$version.tar.bz2"
build_style=custom-install
short_desc="A Userspace implementation of devfs (for initramfs)"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -2,8 +2,7 @@
pkgname=klibc
sourcepkg=klibc
version=1.5.15
distfiles="
http://www.kernel.org/pub/linux/libs/klibc/Testing/klibc-$version.tar.bz2"
distfiles="${KERNEL_SITE}/libs/klibc/Testing/klibc-$version.tar.bz2"
build_style=gnu_makefile
make_install_target="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version install"
short_desc="Minimal libc subset for use with initramfs"

View file

@ -1,8 +1,7 @@
# Template file for 'man-pages'
pkgname=man-pages
version=3.20
distfiles="
http://www.kernel.org/pub/linux/docs/manpages/Archive/$pkgname-$version.tar.bz2"
distfiles="${KERNEL_SITE}/docs/manpages/Archive/$pkgname-$version.tar.bz2"
build_style=only-install
make_install_target="all prefix=$XBPS_DESTDIR/$pkgname-$version/usr"
short_desc="Linux Documentation Project manual pages"

View file

@ -3,8 +3,7 @@ pkgname=module-init-tools
version=3.6
patch_files="LFS-man_pages-1.diff.bz2"
patch_args="-Np1"
distfiles="
http://www.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
distfiles="${KERNEL_SITE}//utils/kernel/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-zlib --prefix="
short_desc="Tools for managing kernel modules"

View file

@ -3,8 +3,7 @@ pkgname=pam
sourcepkg=pam
version=1.0.4
wrksrc="Linux-PAM-$version"
distfiles="
http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-$version.tar.bz2"
distfiles="${KERNEL_SITE}/libs/pam/library/Linux-PAM-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-selinux --libdir=/lib --disable-rpath
--docdir=/usr/share/doc/pam --enable-securedir=/lib/security

View file

@ -1,8 +1,7 @@
# Template file for 'syslinux'
pkgname=syslinux
version=3.73
distfiles="
http://www.kernel.org/pub/linux/utils/boot/syslinux/$pkgname-$version.tar.bz2"
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_makefile
make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version"
short_desc="A boot loader for the Linux operating system"

View file

@ -2,8 +2,7 @@
pkgname=udev
version=141
patch_files="arch-udev-rules.diff"
distfiles="
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-${version}.tar.bz2"
distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.bz2"
build_style=gnu_configure
configure_args="--exec-prefix= --without-selinux"
short_desc="A userspace implementation of devfs"

View file

@ -2,7 +2,7 @@
pkgname=util-linux-ng
version=2.14.2
revision=1
distfiles="http://www.kernel.org/pub/linux/utils/$pkgname/v2.14/$pkgname-$version.tar.bz2"
distfiles="${KERNEL_SITE}/utils/$pkgname/v2.14/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-partx --enable-write"
short_desc="Miscellaneous linux utilities"

View file

@ -1,7 +1,7 @@
# Template file for 'util-linux'
pkgname=util-linux
version=2.12r
distfiles="http://www.kernel.org/pub/linux/utils/util-linux/$pkgname-$version.tar.bz2"
distfiles="${KERNEL_SITE}/utils/util-linux/$pkgname-$version.tar.bz2"
build_style=gnu_configure
CFLAGS="-I/usr/include"
make_install_args="ETC_DIR=$XBPS_DESTDIR/$pkgname-$version/etc

View file

@ -1,7 +1,7 @@
# Template file for 'zisofs-tools'
pkgname=zisofs-tools
version=1.0.8
distfiles="http://www.kernel.org/pub/linux/utils/fs/zisofs/$pkgname-$version.tar.bz2"
distfiles="${KERNEL_SITE}/utils/fs/zisofs/$pkgname-$version.tar.bz2"
build_style=gnu_configure
make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version"
short_desc="ISO9660 transparent compression tool"