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" XORG_SITE="http://xorg.freedesktop.org/releases/individual"
DEBIAN_SITE="http://ftp.debian.org/debian/pool" DEBIAN_SITE="http://ftp.debian.org/debian/pool"
GNOME_SITE="http://ftp.gnome.org/pub/GNOME/sources" 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' # Template file for 'kbd'
pkgname=kbd pkgname=kbd
version=1.15 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 build_style=configure
configure_args="--datadir=/lib/kbd --bindir=/sbin configure_args="--datadir=/lib/kbd --bindir=/sbin
--localedir=/usr/share/locale --mandir=/usr/share/man" --localedir=/usr/share/locale --mandir=/usr/share/man"

View File

@ -2,7 +2,7 @@
pkgname=kernel-headers pkgname=kernel-headers
version=2.6.29.1 version=2.6.29.1
wrksrc="linux-$version" 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 build_style=custom-install
short_desc="The Linux kernel headers" short_desc="The Linux kernel headers"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"

View File

@ -2,7 +2,7 @@
pkgname=kernel-libc-headers pkgname=kernel-libc-headers
version=2.6.29.1 version=2.6.29.1
wrksrc="linux-$version" 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 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

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_files="unionfs-2.5.1_for_2.6.29-rc2.diff.gz"
#patch_args="-p1" #patch_args="-p1"
wrksrc="linux-$version" 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 build_style=gnu_makefile
make_build_target="bzImage modules" make_build_target="bzImage modules"
make_install_target="modules_install make_install_target="modules_install

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@
pkgname=util-linux-ng pkgname=util-linux-ng
version=2.14.2 version=2.14.2
revision=1 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 build_style=gnu_configure
configure_args="--enable-partx --enable-write" configure_args="--enable-partx --enable-write"
short_desc="Miscellaneous linux utilities" short_desc="Miscellaneous linux utilities"

View File

@ -1,7 +1,7 @@
# Template file for 'util-linux' # Template file for 'util-linux'
pkgname=util-linux pkgname=util-linux
version=2.12r 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 build_style=gnu_configure
CFLAGS="-I/usr/include" CFLAGS="-I/usr/include"
make_install_args="ETC_DIR=$XBPS_DESTDIR/$pkgname-$version/etc make_install_args="ETC_DIR=$XBPS_DESTDIR/$pkgname-$version/etc

View File

@ -1,7 +1,7 @@
# Template file for 'zisofs-tools' # Template file for 'zisofs-tools'
pkgname=zisofs-tools pkgname=zisofs-tools
version=1.0.8 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 build_style=gnu_configure
make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version" make_install_args="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version"
short_desc="ISO9660 transparent compression tool" short_desc="ISO9660 transparent compression tool"