wok-6.x annotate ucl/receipt @ rev 12531

kmod: install in /sbin /bin /lib, do symlinks and use xz/lzma compression
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 11:15:08 2012 +0200 (2012-04-25)
parents b80e7d1d930e
children 2a21689b0af7
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"
slaxemulator@11253 8 WEB_SITE="http://www.oberhumer.com/opensource/ucl/"
devl547@11250 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
devl547@11250 10 WGET_URL="$WEB_SITE/download/$TARBALL"
devl547@11250 11
devl547@11250 12 # Rules to configure and make the package.
devl547@11250 13 compile_rules()
devl547@11250 14 {
devl547@11250 15 cd $src
slaxemulator@11253 16 ./configure --enable-shared $CONFIGURE_ARGS &&
slaxemulator@11253 17 make && make install
devl547@11250 18 }
devl547@11250 19
devl547@11250 20 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@11250 21 genpkg_rules()
devl547@11250 22 {
slaxemulator@11253 23 mkdir -p $fs/usr/lib
devl547@11250 24 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
devl547@11250 25 }