wok-next view libzip/receipt @ rev 15168
nethack: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 23:11:23 2013 +0000 (2013-08-15) |
parents | |
children | 8d6f480bf664 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libzip"
4 VERSION="0.10.1"
5 CATEGORY="misc"
6 SHORT_DESC="C library for reading, creating, and modifying zip archives."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.nih.at/libzip/"
10 WGET_URL="${WEB_SITE}$TARBALL"
12 BUILD_DEPENDS="zlib-dev"
13 DEPENDS="zlib"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr &&
20 make && make 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 $install/usr/bin $fs/usr
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }