wok-6.x view ldm/receipt @ rev 18806

Up perdition (2.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 13 23:15:10 2016 +0100 (2016-01-13)
parents
children a78610b2eb47
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="http://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 }