wok-6.x view setserial/receipt @ rev 7222

Fix mesa-demos to install glxinfo and glxgears thats in PWD/_pkg/usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 11 02:23:56 2010 +0000 (2010-11-11)
parents dfadaaf136ef
children 0b4cf0d9e1b5
line source
1 # SliTaz package receipt.
3 PACKAGE="setserial"
4 VERSION="2.17"
5 CATEGORY="system-tools"
6 SHORT_DESC="Serial port configutation tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://setserial.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 mkdir -p _pkg/usr/bin
18 # http://bugs.gentoo.org/309883
19 # & remove warnings
20 patch -p1 < ../stuff/setserial-2.17.u || exit 1
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make $PACKAGE &&
25 install -m 755 $PACKAGE _pkg/usr/bin
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $_pkg/usr $fs
32 }