wok-4.x view srcpd/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents 3b32c17e2f44
children 3e5f4a16c6dd
line source
1 # SliTaz package receipt.
3 PACKAGE="srcpd"
4 VERSION="2.1.1"
5 CATEGORY="games"
6 SHORT_DESC="Simple Railroad Command Protocl Daemon."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base libxml2 zlib"
9 BUILD_DEPENDS="slitaz-toolchain libxml2-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://srcpd.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 CONFIG_FILES="/etc/srcpd.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/etc $fs
36 }