wok-next view libestr/receipt @ rev 20462

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 06 03:00:01 2018 +0200 (2018-03-06)
parents 6c3718ca17b6
children 0ec6086e21d6
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libestr"
4 VERSION="0.1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Some essentials for string handling"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://libestr.adiscon.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://libestr.adiscon.com/files/download/$TARBALL"
14 SPLIT="libestr-dev"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS && make && make install
18 }
20 genpkg_rules() {
21 case $PACKAGE in
22 libestr)
23 mkdir -p $fs/usr/lib
24 cp -a $install/usr/lib/*.so* $fs/usr/lib
25 ;;
26 *-dev)
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.a* $fs/usr/lib
29 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
30 cp -a $install/usr/include $fs/usr
31 ;;
32 esac
33 }