wok view libsde-utils-x11/receipt @ rev 25803
Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 12 15:28:00 2024 +0000 (8 days ago) |
parents | 89c8d8b6cf48 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsde-utils-x11"
4 VERSION="0.1.0-r1"
5 CATEGORY="development"
6 SHORT_DESC="SDE X11 Utility Library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://github.com/sde-gui/libsde-utils"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WGET_URL="https://github.com/sde-gui/libsde-utils-x11/archive/refs/tags/$VERSION.zip"
13 DEPENDS="libsde-utils xorg-libX11"
14 BUILD_DEPENDS="git cmake xorg-dev libsde-utils"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 rm -rf $src/.git
27 # cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
28 ./autogen.sh
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --enable-silent-rules \
33 --with-gnu-ld || return 1
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 # cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/* $fs
44 }