wok view ldm/receipt @ rev 21063
Add duc (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 14 11:22:46 2019 +0100 (2019-03-14) |
parents | ce9148142ee8 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ldm"
4 VERSION="0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="l(ightweight) d(evice) m(ounter)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/LemonBoy/ldm"
11 WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}"
13 DEPENDS="udev"
14 BUILD_DEPENDS="udev-dev util-linux-mount-dev util-linux-blkid wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make ldm.o &&
21 cc -o ldm ldm.o -ludev -lmount -lblkid &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }