cpufrequtils: use a working mirror and rebuild with our CFLAGS.
This commit is contained in:
parent
b797f78f24
commit
f1eb6da91f
1 changed files with 4 additions and 6 deletions
|
@ -1,20 +1,19 @@
|
||||||
# Template file for 'cpufrequtils'
|
# Template file for 'cpufrequtils'
|
||||||
pkgname=cpufrequtils
|
pkgname=cpufrequtils
|
||||||
version=008
|
version=008
|
||||||
revision=4
|
revision=5
|
||||||
short_desc="Userspace tools for the Linux kernel cpufreq subsystem"
|
short_desc="Userspace tools for the Linux kernel cpufreq subsystem"
|
||||||
homepage="ftp://ftp.archlinux.org/other/cpufrequtils/"
|
homepage="ftp://ftp.archlinux.org/other/cpufrequtils/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$version.tar.bz2"
|
distfiles="http://mirror.linux.org.au/linux/utils/kernel/cpufreq/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=1b9daa591d977679fb09ffb9b4d58afa94b9387f3c0be92ec077080e328130f1
|
checksum=1b9daa591d977679fb09ffb9b4d58afa94b9387f3c0be92ec077080e328130f1
|
||||||
|
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC=$CC STRIP=$STRIP V=1
|
make CC=$CC CFLAGS="$CFLAGS" STRIP=: V=1
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
sed -i "s|/usr/bin/install|install|g" Makefile
|
sed -i "s|/usr/bin/install|install|g" Makefile
|
||||||
make DESTDIR=${DESTDIR} mandir=/usr/share/man install
|
make DESTDIR=${DESTDIR} mandir=/usr/share/man install
|
||||||
|
@ -26,9 +25,8 @@ libcpufreq_package() {
|
||||||
vmove "usr/lib/*.so.*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libcpufreq-devel_package() {
|
libcpufreq-devel_package() {
|
||||||
depends="libcpufreq>=${version}"
|
depends="libcpufreq>=${version}_${revision}"
|
||||||
short_desc="libcpufreq - development tools"
|
short_desc="libcpufreq - development tools"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue