wok-4.x annotate cpufrequtils/receipt @ rev 7086
Change goocanvas TARBALL source to .tar.bz2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 00:43:40 2010 +0000 (2010-11-03) |
parents | ace6ca0bc2e1 |
children | fe1d4bd29615 |
rev | line source |
---|---|
gokhlayeh@5741 | 1 # SliTaz package receipt. |
gokhlayeh@5741 | 2 |
gokhlayeh@5741 | 3 PACKAGE="cpufrequtils" |
gokhlayeh@5952 | 4 VERSION="008" |
gokhlayeh@5875 | 5 CATEGORY="system-tools" |
gokhlayeh@5741 | 6 SHORT_DESC="Userspace tools for the kernel cpufreq subsystem." |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@6434 | 8 DEPENDS="sysfsutils linux-cpufreq" |
gokhlayeh@5741 | 9 BUILD_DEPENDS="libtool gettext sed" |
gokhlayeh@5741 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5741 | 11 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" |
gokhlayeh@5741 | 12 WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL" |
gokhlayeh@5741 | 13 |
gokhlayeh@5741 | 14 # Rules to configure and make the package. |
gokhlayeh@5741 | 15 compile_rules() |
gokhlayeh@5741 | 16 { |
gokhlayeh@5741 | 17 cd $src |
gokhlayeh@5741 | 18 make LIBTOOL_OPT="--silent --tag=CC" && make DESTDIR=$PWD/_pkg install |
gokhlayeh@5741 | 19 } |
gokhlayeh@5741 | 20 |
gokhlayeh@5741 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5741 | 22 genpkg_rules() |
gokhlayeh@5741 | 23 { |
gokhlayeh@5741 | 24 mkdir -p $fs/usr |
gokhlayeh@5741 | 25 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@5741 | 26 cp -a $_pkg/usr/lib $fs/usr |
gokhlayeh@5741 | 27 cp -a $_pkg/usr/share $fs/usr |
gokhlayeh@5741 | 28 # Remove devel files |
gokhlayeh@5741 | 29 rm $fs/usr/lib/libcpufreq.*a |
gokhlayeh@5741 | 30 } |