wok-next view libwapcaplet/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 46d3691a4f80 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libwapcaplet"
4 COMMIT=""
5 VERSION="0.4.0"
6 CATEGORY="system-tools"
7 SHORT_DESC="String internment library with rapid string comparison"
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://www.netsurf-browser.org/projects/libwapcaplet/"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2"
14 BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot"
15 if [ -n "$COMMIT" ]; then
16 WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2"
17 else
18 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2"
19 fi
21 BUILD_DEPENDS="netsurf-buildsystem"
22 SPLIT="libwapcaplet-dev"
24 compile_rules() {
25 [ -z "$COMMIT" ] && cd $VERSION
27 sed -i 's|_BSD_SOURCE|_DEFAULT_SOURCE|' Makefile
29 make \
30 PREFIX=/usr \
31 LIBDIR=lib \
32 INCLUDEDIR=include \
33 COMPONENT_TYPE=lib-shared \
34 install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 libwapcaplet) copy @std;;
40 *-dev) copy @dev;;
41 esac
42 }