wok-next annotate libcclc/receipt @ rev 20180
opencc: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 02 12:28:56 2017 +0100 (2017-11-02) |
parents | d3eb5f4b53ea |
children | e6615350078d |
rev | line source |
---|---|
al@19910 | 1 # SliTaz package receipt v2. |
allan316@3736 | 2 |
allan316@3736 | 3 PACKAGE="libcclc" |
allan316@3736 | 4 VERSION="0.7.0" |
allan316@3736 | 5 CATEGORY="development" |
al@19910 | 6 SHORT_DESC="Client library for internet cafe programs" |
allan316@3736 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15472 | 8 LICENSE="BSD" |
al@19910 | 9 WEB_SITE="http://ccl.sourceforge.net/" |
al@19910 | 10 |
allan316@3736 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19910 | 12 WGET_URL="$SF_MIRROR/ccl/$TARBALL" |
pascal@15116 | 13 |
al@19910 | 14 BUILD_DEPENDS="file openssl-dev" |
al@19910 | 15 SPLIT="libcclc-dev" |
pascal@15116 | 16 |
allan316@3736 | 17 # Rules to configure and make the package. |
allan316@3736 | 18 compile_rules() |
allan316@3736 | 19 { |
al@19910 | 20 ./configure $CONFIGURE_ARGS && make && make install |
allan316@3736 | 21 } |
allan316@3736 | 22 |
allan316@3736 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3736 | 24 genpkg_rules() |
allan316@3736 | 25 { |
al@19910 | 26 case $PACKAGE in |
al@19910 | 27 libcclc) |
al@19910 | 28 copy @std |
al@19910 | 29 DEPENDS="libcrypto libssl" |
al@19910 | 30 ;; |
al@19910 | 31 *-dev) |
al@19910 | 32 copy @dev |
al@19910 | 33 DEPENDS="libcclc openssl-dev" |
al@19910 | 34 ;; |
al@19910 | 35 esac |
allan316@3736 | 36 } |