@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := python-mysql
PKG_NAME := python-mysql
PKG_VERSION := 1.3.12
PKG_VERSION := 1.3.12
PKG_RELEASE := 2
PKG_RELEASE := 3
PKG_LICENSE := GPL-2.0
PKG_LICENSE := GPL-2.0
PKG_SOURCE := mysqlclient-$( PKG_VERSION) .tar.gz
PKG_SOURCE := mysqlclient-$( PKG_VERSION) .tar.gz
@ -21,17 +21,11 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-mysql-$(PKG_VERSION)
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e . . / p y t h o n - p a c k a g e . m k
i n c l u d e . . / p y t h o n - p a c k a g e . m k
i n c l u d e . . / p y t h o n 3 - p a c k a g e . m k
i n c l u d e . . / p y t h o n 3 - p a c k a g e . m k
# python-mysql needs iconv
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
PKG_UNPACK := $( HOST_TAR) -C $( PKG_BUILD_DIR) --strip-components= 1 -xzf $( DL_DIR) /$( PKG_SOURCE)
PKG_UNPACK := $( HOST_TAR) -C $( PKG_BUILD_DIR) --strip-components= 1 -xzf $( DL_DIR) /$( PKG_SOURCE)
# Help python-mysql find libiconv.so when using uClibc.
i f n e q ( $( CONFIG_USE_UCLIBC ) , )
TARGET_CPPFLAGS += \
-I$( STAGING_DIR) /usr/lib/libiconv-full/include
TARGET_LDFLAGS += \
-L$( STAGING_DIR) /usr/lib/libiconv-full/lib
e n d i f
d e f i n e P a c k a g e / p y t h o n - m y s q l / D e f a u l t
d e f i n e P a c k a g e / p y t h o n - m y s q l / D e f a u l t
SUBMENU:= Python
SUBMENU:= Python
SECTION:= lang
SECTION:= lang