wok-6.x annotate ucl/receipt @ rev 17552
Update some post_install for install --root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 10:17:37 2015 +0100 (2015-01-30) |
parents | 6ee191c3fa9e |
children | 83b97236db32 |
rev | line source |
---|---|
devl547@11250 | 1 # SliTaz package receipt. |
devl547@11250 | 2 |
devl547@11250 | 3 PACKAGE="ucl" |
devl547@11250 | 4 VERSION="1.03" |
devl547@11250 | 5 CATEGORY="system-tools" |
slaxemulator@11253 | 6 SHORT_DESC="Portable lossless data compression library written in ANSI C" |
devl547@11250 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15363 | 8 LICENSE="GPL2" |
slaxemulator@11253 | 9 WEB_SITE="http://www.oberhumer.com/opensource/ucl/" |
devl547@11250 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@11250 | 11 WGET_URL="$WEB_SITE/download/$TARBALL" |
devl547@11250 | 12 |
devl547@11250 | 13 # Rules to configure and make the package. |
devl547@11250 | 14 compile_rules() |
devl547@11250 | 15 { |
devl547@11250 | 16 cd $src |
slaxemulator@11253 | 17 ./configure --enable-shared $CONFIGURE_ARGS && |
slaxemulator@11253 | 18 make && make install |
devl547@11250 | 19 } |
devl547@11250 | 20 |
devl547@11250 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@11250 | 22 genpkg_rules() |
devl547@11250 | 23 { |
slaxemulator@11253 | 24 mkdir -p $fs/usr/lib |
pascal@15363 | 25 cp -a $install/usr/lib/*.so* $fs/usr/lib |
devl547@11250 | 26 } |