mirror of
http://git.openwrt.org/packages.git
synced 2025-01-08 11:57:34 +08:00
[patchteam] New Package - pyxdg - required for deluge
Signed off by alexander@sulfrian.net git-svn-id: svn://svn.openwrt.org/openwrt/packages@20171 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f05187664e
commit
777c817376
47
lang/pyxdg/Makefile
Normal file
47
lang/pyxdg/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
#
|
||||
# Copyright (C) 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:=pyxdg
|
||||
PKG_VERSION:=0.18
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://people.freedesktop.org/~lanius/
|
||||
PKG_MD5SUM:=076b57722e91dab8ab83028c6ef9dcea
|
||||
|
||||
PKG_BUILD_DEPENDS:=python
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
$(call include_mk, python-package.mk)
|
||||
|
||||
define Package/pyxdg
|
||||
SUBMENU:=Python
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
TITLE:=pyxdg
|
||||
URL:=http://freedesktop.org/wiki/Software/pyxdg
|
||||
DEPENDS:=+python
|
||||
endef
|
||||
|
||||
define Package/pyxdg/description
|
||||
A Python module to deal with freedesktop.org specifications
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
|
||||
endef
|
||||
|
||||
define Package/pyxdg/install
|
||||
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
|
||||
$(1)$(PYTHON_PKG_DIR)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,pyxdg))
|
Loading…
Reference in New Issue
Block a user