wok view iso-codes/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 76b72f1ad63c
children 8dd8bab3f0ca
line source
1 # SliTaz package receipt.
3 PACKAGE="iso-codes"
4 VERSION="3.45"
5 CATEGORY="utilities"
6 SHORT_DESC="ISO-639, ISO-4217, ISO-3166 and ISO-3166-2 code lists + translations."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://pkg-isocodes.alioth.debian.org"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="http://pkg-isocodes.alioth.debian.org/downloads/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="gettext"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man \
22 --infodir=/usr/share/info \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }