wok annotate hiredis/receipt @ rev 19199

gucharmap: fix packaging
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 09 00:34:10 2016 +0300 (2016-06-09)
parents
children d079070599f5
rev   line source
pascal@18371 1 # SliTaz package receipt.
pascal@18371 2
pascal@18371 3 PACKAGE="hiredis"
pascal@18371 4 VERSION="0.13.3"
pascal@18371 5 CATEGORY="misc"
pascal@18371 6 SHORT_DESC="Minimalistic C client for Redis >= 1.2."
pascal@18371 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18371 8 LICENSE="BSD"
pascal@18371 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18371 10 WEB_SITE="https://github.com/redis/hiredis"
pascal@18371 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@18371 12
pascal@18371 13 BUILD_DEPENDS="wget"
pascal@18371 14
pascal@18371 15 # Rules to configure and make the package.
pascal@18371 16 compile_rules()
pascal@18371 17 {
pascal@18371 18 make && make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@18371 19 }
pascal@18371 20
pascal@18371 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18371 22 genpkg_rules()
pascal@18371 23 {
pascal@18371 24 mkdir -p $fs/usr/lib
pascal@18371 25 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@18371 26 }