wok view libidn/receipt @ rev 7187

Fixed grep to remove and replace soft link to busybox in pre_install and post_remove functions.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 08 22:43:35 2010 +0000 (2010-11-08)
parents acb8abe86ce3
children 6c86b2ce4a43
line source
1 # SliTaz package receipt.
3 PACKAGE="libidn"
4 VERSION="1.19"
5 CATEGORY="system-tools"
6 SHORT_DESC="Encode and decode internationalized domain names."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/$PACKAGE/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 }