wok-6.x view slang/receipt @ rev 8539
Fix: wxWidgets to install contrib files into same DESTDIR now. This will save 600mb since we will not need the source folder anymore to genpkg files.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 13 04:28:50 2011 +0000 (2011-02-13) |
parents | 1f2f59c79286 |
children | df78a21d6e40 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slang"
4 VERSION="2.2.2"
5 CATEGORY="development"
6 SHORT_DESC="S-Lang library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="pcre libpng zlib"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.s-lang.org/index.html"
11 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/$TARBALL
12 ftp://space.mit.edu/pub/davis/slang/v2.2/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr $CONFIGURE_ARGS &&
19 make && \
20 make elf && \
21 make static &&
22 make DESTDIR=$PWD/_pkg -j1 install install-static
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 strip -s $fs/usr/bin/*
32 }