rev |
line source |
devl547@17583
|
1 # SliTaz package receipt.
|
devl547@17583
|
2
|
devl547@17583
|
3 PACKAGE="libsecret"
|
al@19226
|
4 VERSION="0.18.5"
|
pascal@24111
|
5 SERIES="${VERSION%.*}" # first two numbers from version
|
al@19226
|
6 SHORT_DESC="GObject based library for accessing the Secret Service API"
|
pascal@17957
|
7 MAINTAINER="devl547@gmail.com"
|
pascal@18334
|
8 LICENSE="LGPL2.1"
|
al@19226
|
9 CATEGORY="security"
|
pascal@21124
|
10 WEB_SITE="https://gnome.org/"
|
devl547@17583
|
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
|
al@19226
|
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL"
|
devl547@17583
|
13 HOST_ARCH="i486 arm"
|
devl547@17583
|
14
|
al@19226
|
15 DEPENDS="libgio libgpg-error"
|
al@19226
|
16 BUILD_DEPENDS="libgcrypt-dev gobject-introspection-dev vala"
|
devl547@17583
|
17
|
pascal@24111
|
18 current_version()
|
pascal@24111
|
19 {
|
pascal@24111
|
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
|
pascal@24111
|
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
|
pascal@24111
|
22 }
|
pascal@24111
|
23
|
devl547@17583
|
24 # Rules to configure and make the package.
|
devl547@17583
|
25 compile_rules()
|
devl547@17583
|
26 {
|
al@19226
|
27 ./configure \
|
devl547@17583
|
28 --disable-manpages \
|
devl547@17583
|
29 $CONFIGURE_ARGS &&
|
al@19226
|
30 make && make install
|
devl547@17583
|
31 }
|
devl547@17583
|
32
|
devl547@17583
|
33 # Rules to gen a SliTaz package suitable for Tazpkg.
|
devl547@17583
|
34 genpkg_rules()
|
devl547@17583
|
35 {
|
devl547@17583
|
36 mkdir -p $fs/usr/lib
|
al@19226
|
37 cp -a $install/usr/bin $fs/usr
|
devl547@17583
|
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
|
devl547@17583
|
39 }
|