wok diff ldm/receipt @ rev 18770

Add sundown
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 31 14:51:53 2015 +0200 (2015-12-31)
parents
children a78610b2eb47
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ldm/receipt	Thu Dec 31 14:51:53 2015 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ldm"
     1.7 +VERSION="0.3"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="l(ightweight) d(evice) m(ounter)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://github.com/LemonBoy/ldm"
    1.14 +WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}"
    1.15 +
    1.16 +DEPENDS="udev"
    1.17 +BUILD_DEPENDS="udev-dev util-linux-mount-dev util-linux-blkid wget"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	make ldm.o &&
    1.24 +	cc -o ldm ldm.o -ludev -lmount -lblkid &&
    1.25 +	make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $install/usr/bin $fs/usr
    1.33 +}