wok-6.x view popt/receipt @ rev 15772
linux-source: install initrd.cpio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 07 23:03:08 2014 +0000 (2014-01-07) |
parents | fb4f0d051fc1 |
children | 7e1257627587 |
line source
1 # SliTaz package receipt.
3 PACKAGE="popt"
4 VERSION="1.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library for parsing command line options."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://rpm5.org/"
11 WGET_URL="${WEB_SITE}files/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }