nuke $Id$ in /packages as well
[openwrt.org/packages.git] / utils / reiserfsprogs / Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
 
include $(TOPDIR)/rules.mk
 
PKG_NAME:=reiserfsprogs
PKG_VERSION:=3.6.19
PKG_RELEASE:=1
 
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.namesys.com/pub/reiserfsprogs
PKG_MD5SUM:=b42cf15f6651c3ceff5cb84996c0d539
 
PKG_FIXUP = libtool
 
include $(INCLUDE_DIR)/package.mk
 
define Package/reiserfsprogs
  SECTION:=utils
  CATEGORY:=Utilities
  TITLE:=ReiserFS filesystems utilities
  URL:=http://www.namesys.com/
  SUBMENU:=filesystem
endef
 
define Package/reiserfsprogs/description
        This package contains utilities to create, check,
        resize, and debug ReiserFS filesystems.
endef
 
define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
endef
 
define Package/reiserfsprogs/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(foreach bin,debugreiserfs mkreiserfs reiserfsck reiserfstune resize_reiserfs,$(PKG_INSTALL_DIR)/usr/sbin/$(bin)) $(1)/usr/sbin/
        ln -sf mkreiserfs $(1)/usr/sbin/mkfs.reiserfs
        ln -sf reiserfsck $(1)/usr/sbin/fsck.reiserfs
endef
 
$(eval $(call BuildPackage,reiserfsprogs))
 
comments