wok-stable view sysfsutils/receipt @ rev 10477

youtube-dl: Fixed genpkg_rules.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed May 25 06:00:18 2011 +0000 (2011-05-25)
parents 02bbaa9d12ba
children
line source
1 # SliTaz package receipt.
3 PACKAGE="sysfsutils"
4 VERSION="2.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilites built upon sysfs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://linux-diag.sourceforge.net/Sysfsutils.html"
11 WGET_URL="$SF_MIRROR/linux-diag/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }